-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
85 lines (75 loc) · 3.13 KB
/
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="css/husk.css" media="screen" />
<title>Husk - Form</title>
</head>
<body>
<header>
<h1>Husk</h1>
<p>Just enough CSS to get by</p>
</header>
<main>
<section>
<header>
<h1>Form example</h1>
</header>
<p>This is paragraph text. Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
<form>
<p>
<label for="name">Name (4 to 8 characters):</label>
<input type="text" id="name" name="name" required minlength="4" maxlength="8" size="20" value="Hello!" />
</p>
<p>
<label for="address">Address:</label>
<textarea id="address" cols="100" rows="10"></textarea>
</p>
<fieldset>
<legend>About your monster</legend>
<label for="kraken"> <input type="radio" id="kraken" name="monster" value="Kraken" /> Kraken</label>
<label for="sasquatch"> <input type="radio" id="sasquatch" name="monster" value="Sasquatch" /> Sasquatch</label>
<label for="mothman"> <input type="radio" id="mothman" name="monster" value="Mothman" /> Mothman</label>
<hr />
<label for="checkbox1">
<input id="checkbox1" name="checkbox" type="checkbox" checked="checked" /> Choice A</label>
<label for="checkbox2"><input id="checkbox2" name="checkbox" type="checkbox" /> Choice B</label>
<label for="checkbox3"><input id="checkbox3" name="checkbox" type="checkbox" /> Choice C</label>
</fieldset>
<p>
<label for="pet-select">Choose a pet:</label>
<select name="pets" id="pet-select">
<option value="">Please choose an option</option>
<option value="dog">Dog</option>
<option value="cat">Cat</option>
<option value="hamster">Hamster</option>
<option value="parrot">Parrot</option>
<option value="spider">Spider</option>
<option value="goldfish">Goldfish</option>
</select>
</p>
<p>
<label for="tentacles">Number of tentacles (10-100):</label>
<input type="number" id="tentacles" name="tentacles" min="10" max="100" />
</p>
<p>
<label for="start">Start date:</label>
<input type="date" id="start" />
</p>
<p>
<label for="avatar">Choose a profile picture:</label>
<input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg" />
</p>
<p>
<label for="terms"><input type="checkbox" id="terms" name="terms" /> Agree to terms and conditions</label>
</p>
<input type="submit" value="Submit" /> <input type="button" value="Cancel" />
</form>
</section>
</main>
<footer>
<p>Husk - <a href="https://github.com/ocodia/Husk/">Github</a></p>
</footer>
</body>
</html>