-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
45 lines (45 loc) · 1.48 KB
/
Copy pathforms.html
File metadata and controls
45 lines (45 loc) · 1.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forms</title>
</head>
<body>
<form action="table.html">
<div>
<label for="username">Enter your username : </label>
<input type="text" id="username" placeholder="enter username" name="user">
</div>
<div>
<label for="password">enter password :</label>
<input type="password" placeholder="enter password" id="password" name="pass">
</div>
<button>submit</button>
<br>
<button type="button">hello</button>
<br>
<button type="reset">reset</button>
<br>
<input type="submit" value="click me">
</form>
<hr>
<form action="https://www.google.com/search">
<input type="text" name="q" placeholder="search in google">
<br>
<input type="checkbox" name="age" id="age" checked>
<label for="age">I am 18+</label>
<br>
<input type="radio" name="fruit" id="apple" value="apple">
<label for="apple">Apple</label>
<br>
<input type="radio" name="fruit" id="mango" value="mango">
<label for="mango">Mango</label>
<br>
<input type="radio" name="fruit" id="banana" value="banana">
<label for="banana">Banana</label>
<br>
<button>search</button>
</form>
</body>
</html>