-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtut5.html
47 lines (44 loc) · 1.47 KB
/
tut5.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
<!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>Forms</title>
</head>
<body>
<h2>this html forms tutorial</h2>
<form action="backend.php">
<div>Name:<input type="text" name="myname" /></div>
<br />
<div>Role:<input type="text" name="myrole" /></div>
<br />
<div>date: <input type="date" name="mydate" /></div>
<br />
<div>are you eligible:<input type="checkbox" name="myeligibilty" /></div>
<br />
<div>
gender: male<input type="radio" name="mygender" />
female<input type="radio" name="mygender" />
other <input type="radio" name="mygender" />
</div>
<br />
<div>
write about yourself:<textarea name="mytext" cols="30" rows="10"></textarea>
</div>
<br />
<div>
<label for="car">car</label>
<select name="mycar" id="car">
<option value="swf">swift</option>
<option value="ind" selected>indica</option>
</select>
</div>
<br>
<input type="submit" value="submit now" />
<input type="reset now" value="reset now" />
</div>
</form>
</body>
</html>
<!--for nevigating select that part and alt +down arrow-->