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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>test form</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="main.js"></script>
</head>
<body>
<form action="next.html">
TextData:<br><input type="text" name="name" value="Test"><br>
Password:<br><input type="password" name="password"><br><br>
<input type="radio" name="gender" value="male" checked> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other<br><br>
<input type="radio" name="eat" value="beef" checked> Beef<br>
<input type="radio" name="eat" value="cat"> Cat<br>
<input type="radio" name="eat" value="rat"> Rat<br><br>
<input type="checkbox" name="vehicle1" value="Bike"> I have a bike<br>
<input type="checkbox" name="vehicle2" value="Car"> I have a car <br><br>
Select your favorite color:
<input type="color" name="favcolor" value="#ff0000"><br><br>
Birthday (date and time):
<input type="datetime-local" name="bdaytime"><br><br>
Range :
<input type="range" name="points" min="0" max="10"><br><br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
</body>
</html>