-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
65 lines (61 loc) · 1.73 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!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>Hi Forms!</title>
</head>
<body>
<h2> THIS IS HTML FORM TUTORIAL</h2>
<form action="backend.php">
<div>
<label for="name"> Name </label>
<input type="text" name="mname" id="name">
</div>
<br>
<div>
Rollno:<input type="tel" name="myroll"><br>
</div><br>
<div>
Email:<input type="email" name="myemail"><br>
</div>
<br>
<div>
Date<input type="date" name="date">
</div>
<br>
<div>
Bonus: <input type="number" name="number">
</div>
<br>
<div>
<label for="check">Are you eligible:</label> <input type="checkbox" name="chec" id="check">
</div>
<br>
<div>
Gender: male<input type="radio" name="rad"> female <input type="radio" name="rad">
</div>
<br>
<div>
Wrie about yourself:<br><textarea name="mytext" cols="50" rows="9"></textarea>
</div>
<br>
<div>
<label for="car">Car Brand</label>
<select name="mycar" id="car">
<option value="ind"> indica</option>
<option value="sw" selected>swift</option>
</select>
</div>
<div>
<br>
</div>
<br>
<div>
<input type="reset" value="reset here">
</div>
</form>
</body>
<script src="harry.js"></script>
</html>