-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathform.html
51 lines (49 loc) · 1.22 KB
/
form.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
!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 is HTML Form tutorial</h2>
<form action="backend.php"></form>
<div>
Name:<input type="text" name="MyName">
</div>
<br>
<div>
Role:<input type="role" name="MyRole">
</div>
<br>
<div>
Email:<input type="email" name="MYEmail">
</div>
<br>
<div>
Date:<input type="date" name="TodayDate">
</div>
<br>
<div>
Bonus:<input type="number" name="MyBonus">
</div>
<br>
<div>
Are you eligible?:<input type="checkbox" name="MyEligibility">
</div>
<br>
<div>
Gender:Male<input type="radio" name="My Gender"> Female<input type="radio" name="My Gender"> other<input type="radio" name="My Gender">
</div>
<br>
<div>
Write about your self:<br><textarea name="mytext" col="30" row="10"></textarea>
</div>
<br>
<div>
<input type="submit" value="Submit Now">
<input type="reset" value="Reset Now">
</div>
</body>
</html>