forked from meyerweb/css-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forms.html
58 lines (45 loc) · 1.35 KB
/
forms.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Form elements</title>
<style type="text/css" media="all">
body {background: #BBE;}
ol li {padding: 0.75em 0;}
/*
select {padding: 10px;}
option {border: 1px solid red;}
*/
</style>
</head>
<body>
<form action="" method="post">
<ol>
<li><input type="text" value="text_input" /> (text input)</li>
<li><input type="password" value="password_input" /> (password input)</li>
<li><input type="radio" /> (radio input)</li>
<li><input type="checkbox" /> (checkbox input)</li>
<li><input type="button" value="button_input" /> (button input)</li>
<li><input type="image" src="" alt="image_input" /> (image input)</li>
<li><input type="file" /> (file input)</li>
<li><textarea rows="5" cols="40">textarea_element</textarea> (textarea)</li>
<li>
<select>
<option>selectbox</option>
<option>option uno</option>
<option>option deux</option>
<option>option three</option>
<option>option D</option>
<option>option V</option>
</select>
(select)
</li>
<li><input type="submit" value="submit_input" /> (submit)</li>
<li><button>button_element</button> (button)</li>
</ol>
</form>
<ul>
<li>Surfin' Safari: <a href="http://webkit.org/blog/51/text-fields/">Text Fields</a></li>
</ul>
</body>
</html>