-
Notifications
You must be signed in to change notification settings - Fork 10
/
basicHTML-Form.html
70 lines (68 loc) · 2.53 KB
/
basicHTML-Form.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
69
70
<!DOCTYPE html>
<html lang="en" dir="ltr">
<meta charset="utf-8">
<title>Form_challenge</title>
</html>
<body>
<form class="" action="https://freecatphotoapp.com/submit-cat-photo" method="post">
<label for="fname">First Name: </label>
<input type="text" id="fname" name="fName" value="Byron"><br>
<br>
<label for="lname">Last Name: </label>
<input type="text" id="lname" name="lname" value="Lucas"><br>
<br>
<label for="address">Address: </label>
<input type="text" id="address" name="address" value="My Address" ><br>
<br>
<label for="sname">Sate: </label>
<select id="sname" name="sname">
<option value="nsw">NSW</option>
</select><br>
<br>
<label for="passw">Password: </label>
<input type="text" id="passw" name="passw"><br>
<br>
<label for="gender">Gender: </label>
<input type="radio" id="male" name="gender" value="male" checked>
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br>
<br>
<label for="question">Do you bleat like a sheep? </label>
<input type="checkbox" name="question" id="question" value="yes">
<label for="question">Yes</label><br>
<br>
<label for="coffee">How many cups of coffee do you drink a day?</label><br>
<br>
<input type="radio" name="coffee" id="coffee" value="oto2Cup(s)">
<label for="coffee">o to 2 Cup(s)</label>
<input type="radio" name="coffee" id="coffee" value="2to4Cup">
<label for="coffee">2 to 4 Cup(s)</label><br>
<br>
<input type="radio" name="coffee" id="coffee" value="4to8Cup(s)">
<label for="coffee">4 to 8 Cup(s)</label>
<input type="radio" name="coffee" id="coffee" value="8to16Cup">
<label for="coffee">8 to 16 Cup(s)</label><br>
<br>
<label for="question1">Do you own personal computer?</label>
<select id="question1" name="question1">
<option value="yes">Yes</option>
</select><br>
<br>
<label for="question2">How long would it take to make a HTML form?</label><br>
<br>
<input type="text" name="question2" id="question2"><br>
<br>
<label for="comments">Comments:</label><br>
<br>
<input type="text" name="comments" id="comments"><br>
<br>
<label for="feedback">Do you liked the form?</label><br>
<br>
<input type="radio" name="feedback" id="yes" value="yes">
<label for="yes">Yes</label>
<input type="radio" name="feedback" id="no" value="no">
<label for="no">No</label><br>
</form>
<!-- size="40" -->
</body>