-
Notifications
You must be signed in to change notification settings - Fork 3
/
html5-types.html
98 lines (57 loc) · 2.2 KB
/
html5-types.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
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>HTML5 input types</title>
<meta name="robots" content="noindex, nofollow">
<style type="text/css">
body {
font-family: arial, sans-serif;
line-height: 2;
padding: 1% 5%;
}
</style>
</head>
<body>
<h1>HTML5 attributes</h1>
<h2>Please note</h2>
<ul>
<li>you don't have to test with ChromeVox</li>
<li>input from tablets and smartphones is very much appreciated</li>
<li>if you use NVDA, please only test with FireFox</li>
<li>report your findings before Saturday February 11th 2017 to wpa11ytest@gmail.com</li>
</ul>
<h2>The form</h2>
<form action="#">
<label for="type-text">Text</label>
<input type="text" name="type-text" id="type-text"><br/>
<label for="type-search">Search</label>
<input type="search" name="type-search" id="type-search"><br/>
<label for="type-tel">Telephone</label>
<input type="tel" name="type-tel" id="type-tel"><br/>
<label for="type-url">URL</label>
<input type="url" name="type-url" id="type-url"><br/>
<label for="type-email">E-mail</label>
<input type="email" name="type-email" id="type-email"><br/>
<label for="type-datetime">Date and Time</label>
<input type="datetime" name="type-datetime" id="type-datetime"><br/>
<label for="type-date">Date</label>
<input type="date" name="type-date" id="type-date"><br/>
<label for="type-month">Month</label>
<input type="month" name="type-month" id="type-month"><br/>
<label for="type-week">Week</label>
<input type="week" name="type-week" id="type-week"><br/>
<label for="type-time">Time</label>
<input type="time" name="type-time" id="type-time"><br/>
<label for="type-datetime-local">Local Date and Time</label>
<input type="datetime-local" name="type-datetime-local" id="type-datetime-local"><br/>
<label for="type-number">Number</label>
<input type="number" name="type-number" id="type-number" min="0" max="20"><br/>
<label for="type-range">Range (0-100)</label>
<input type="range" name="type-range" id="type-range" min="0" max="100"><br/>
<label for="type-color">Colour</label>
<input type="color" name="type-color" id="type-color"><br/>
</form>
<a href="index.html">Back to overview page</a>
</body>
</html>