-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTML5 Elements.html
More file actions
52 lines (44 loc) · 1.06 KB
/
HTML5 Elements.html
File metadata and controls
52 lines (44 loc) · 1.06 KB
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
<!doctype html>
<html>
<head>
<title>HTML5 Elements</title>
</head>
<body>
<header></header>
<main>
Color Element:<input type="color" />
<br />
Datalist Element:<input list="colors" />
<datalist id="colors">
<option value="Blue">
<option value="Red">
<option value="Yellow">
<option value="Orange">
<option value="White">
</datalist>
<br />
Date Type: <input type="datetime" />
<br />
Date Type Local: <input type="datetime-local" />
<br />
Email Type: <input type="email" /> not noticed on a desktop but on mobile device keyboard changes to make it easier to enter an email address
<br />
Url Type: <input type="url" /> keyboard optimized for mobile device.
<br />
Tel Type: <input type="tel" />
<br />
Month Type: <input type="month" />
<br />
Number Type: <input type="number" />
<br />
Range Type: <input type="range" />
<br />
Week Type: <input type="week" />
<br />
Time Type: <input type="time" />
<br />
Search Type: <input type="search" />
</main>
<footer></footer>
</body>
</html>