-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputs.html
54 lines (54 loc) · 1.68 KB
/
inputs.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML inputs</title>
</head>
<body>
<form>
<label>Button:</label>
<input type="button"><br>
<label>Checkbox:</label>
<input type="checkbox"><br>
<label>Color:</label>
<input type="color"><br>
<label>Date:</label>
<input type="date"><br>
<label>Date-time local:</label>
<input type="datetime-local"><br><!--display date and time with timezone-->
<label>Email:</label>
<input type="email"><br>
<label>File:</label>
<input type="file"><br>
<label>Image:</label>
<input type="image" src="" alt="alternativetext"><br>
<label>Month:</label>
<input type="month"><br>
<label>Number:</label>
<input type="number"><br>
<label>Password:</label>
<input type="password"><br>
<label>Radio:</label>
<input type="radio"><br>
<label>Range:</label>
<input type="range"><br>
<label>Reset:</label>
<input type="reset"><br>
<label>Search:</label>
<input type="search"><br>
<label>Submit:</label>
<input type="submit"><br>
<label>Tel:</label><!--Telephone input type-->
<input type="tel"><br>
<label>Text:</label>
<input type="text"><br>
<label>Time:</label>
<input type="time"><br>
<label>URL:</label>
<input type="url"><br><!--Looks like text but has validation parameters-->
<label>Week:</label>
<input type="week">
</form>
</body>
</html>