-
Notifications
You must be signed in to change notification settings - Fork 0
/
06_form_input.html
64 lines (60 loc) · 2.1 KB
/
06_form_input.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
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>form and input</title>
</head>
<body>
<form action="s.php">
<div>
<label for="name">Name</label>
<input type="text" id="name">
</div>
<div>
<label for="fathername">Father Name</label>
<input type="text" id="fathername">
</div>
<div>
<label for="dob">DOB</label>
<input type="date" name="dob" id="dob">
</div>
<div>
<label for="message">Message</label><br>
<textarea name="message" id="" cols="30" rows="10"></textarea>
</div>
<div>
<label for="email">email</label>
<input type="email" name="email" id="">
</div>
<div>
<label for="gender">Gender</label>
<input type="radio" name="male" id="gender">male
<input type="radio" name="femalemale" id="gender">female
</div>
<div>
<label for="languages">Programming languages</label>
<input type="checkbox" name="c++" id="languages">c++
<input type="checkbox" name="c++" id="languages">java
<input type="checkbox" name="c++" id="languages">python
<input type="checkbox" name="c++" id="languages">go
<input type="checkbox" name="c++" id="languages">javscript
</div>
<div>
<label for="newthing">Colors</label>
<input type="color" name="color" id="newthing">
</div>
<div>
<label for="file">file</label>
<input type="file" name="" id="file">
</div>
<div>
<label for="search">search</label>
<input type="search" name="search" id="search">
</div>
<button type="submit">Submit</button><br>
<button type="reset">reset</button>
</form>
</body>
</html>