-
Notifications
You must be signed in to change notification settings - Fork 0
/
HTML_fifth.html
48 lines (43 loc) · 1.3 KB
/
HTML_fifth.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
<!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 and Input Tags</title>
</head>
<body>
<form action="backend.php"> <!--Submitting whatever is filled in the form to backend.php-->
<div> <!--div is a block element-->
Name : <input type="text" name="myName">
</div>
<br>
<div>
Roll: <input type="text" name="myRole">
</div>
<br>
<div>
Date: <input type="date" name="myDate">
</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>
Suggestions: input <textarea name="myText" cols="30" rows="10"></textarea>
</div>
<br>
<div>
Confirm Please: <input type="checkbox" name="myChechbox">
</div>
<hr>
<div>
<input type="submit" value="Submit Now">
<input type="reset" value="Reset Now">
</div>
</form>
</body>
</html>