-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple.html
46 lines (43 loc) · 1.33 KB
/
simple.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
<!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> form</title>
</head>
<style>
*{
margin: 5px;
padding: 2px;
}
</style>
<body>
<form action="#">
Enter your name<input type="text" ><br><br>
enter your father name<input type="text"><br><br>
gender:
male<input type="radio" name="myGender">
female<input type="radio" name="myGender">
rether not to say <input type="radio" name="myGender" >
</form>
<hr>
<form action="#">
<label for="nmae">Name: </label>
<input type="text" name="" id="nmae"> <br>
<label for="class">class</label>
<input type="checkbox" name="" id="class"><br>
<fieldset style="display: inline;">
<legend> Your gender: </legend>
<label for="male"> male </label>
<input type="radio" name="my-gender" id="male" checked >
<label for="female">female</label>
<input type="radio" name="my-gender" id="female">
<label for="jkl">rather not to say</label>
<input type="radio" name="my-gender" id="jkl">
<label for="ram">semester</label>
<legend>Semester</legend>
</fieldset>
</form>
</body>
</html>