-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
46 lines (43 loc) · 1.46 KB
/
form.html
File metadata and controls
46 lines (43 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forms Demo</title>
</head>
<body>
<h1>Forms Demo</h1>
<form method="GET" action="https://www.reddit.com/search/">
<!-- https://www.reddit.com/search/?q=chicken -->
<p>
<label for="query">Search reddit for: </label>
<input type="text" id="query" name="q" placeholder="chicken"/>
</p>
<input type="password" id="p" name="p"/>
<input type="color" id="color" name="color"/>
<button type="button">No Submit</button>
<input type="submit"/>
<input type="submit" value="Click me!">
<input type="text" name="" id="">
<!--
input:r[name=myCity id=$ value=x$]*4
-->
<input type="radio" name="myCity" id="1" value="x1">
<input type="radio" name="myCity" id="2" value="x2">
<input type="radio" name="myCity" id="3" value="x3">
<input type="radio" name="myCity" id="4" value="x4">
<!--
select>option[value=$]{x$}*4
-->
<select name="" id="">
<option value="1">x1</option>
<option value="2">x2</option>
<option value="3" selected>x3</option>
<option value="4">x4</option>
</select>
<p>
<input type="range" name="r" id="r" min="4" max"200">
</p>
</form>
</body>
</html>