-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOMIS 475_Ch 9 Q5.html
68 lines (66 loc) · 2.21 KB
/
OMIS 475_Ch 9 Q5.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head>
<title>Pierre Sanders-Jackson</title>
<meta charset="utf-8">
<style>
form {background-color: yellowgreen;
font-family: Georgia, 'Times New Roman', Times, serif;
padding: 15px;}
h1 {border-style: dashed;
padding: 20px;
border-width: 5px;
border-color: red;}
h2 {border-style:inset;
border-width: 5px;
border-color: pink}
</style>
</head>
<body>
<h1>Music Survey</h1>
<form action="/action_page.php">
Name:<br>
<input type="text" name="firstname">
<br>
<h2>Choose your Email</h2><br>
<label for="email">Email</label>
<input type="text" name="email" id="email" list="email">
<datalist id="email">
<option value="SJ111@yahoo.com" label="SJ111@yahoo.com">
<option value="pierrejackson27@gmail.com" label="pierrejackson27@gmail.com">
<option value="SJ326@twinkle.com" label="SJ326@twinkle.com">
</datalist>
<br>
<br>
Pick your favorite music genre:<br>
<fieldset>
<legend>Music Genre:</legend>
<input type="radio" name="genres" id="favRock" value="Rk"> Rock<br>
<input type="radio" name="genres" id="favGospel" value="Gp"> Gospel<br>
<input type="radio" name="genres" id="favHip-Hop" value="Hp-Hp"> Hip-Hop<br>
</fieldset>
How many times a day do you listen to music:<br>
<fieldset>
<legend>Listen Occurences:</legend>
<input type="checkbox" name="Once" id="Once" value="yes"> Once<br>
<input type="checkbox" name="Over 5 times" id="Over 5 times" value="yes"> Over 5 times<br>
<input type="checkbox" name="Over 7 times" id="Over 7 times" value="yes"> Over 7 times<br>
</fieldset>
Select how you listen to music:<br>
<select size="3" name="musicoutput" id="musicoutput">
<option>Car</option>
<option>Phone</option>
<option>Home Stereo</option>
<option>CD collection</option>
</select><br>
<input type="submit"><br>
<input type="reset"><br>
What does music mean to you?:<br>
<textarea name="comments" id="comments" cols="100" rows="3" maxlength="60" required="required">Enter Comments Here!</textarea>
<br>
</form>
<footer>
Contact <strong>Pierre Sanders-Jackson</strong> at: <a href="mailto:pierrejackson27@gmail.com">pierrejackson27@gmail.com</a>
</footer>
</body>
</html>