-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab6.html
More file actions
34 lines (34 loc) · 1011 Bytes
/
Copy pathlab6.html
File metadata and controls
34 lines (34 loc) · 1011 Bytes
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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Form tag</h1>
<form>
<label for="username">Username: </label><br>
<input type="text" id="username" name="username"><br>
<label for="password">Password: </label><br>
<input type="password" id="password" name="password"><br>
<input type="submit" value="Submit">
</form>
<br>
<h2>Radio Button</h2>
<form>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label> <br> <br>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label><br>
</form>
<br>
<h2>Check Box</h2>
<form>
<h4>Choose your fav cars</h4>
<input type="checkbox" id="lambo" name="car" value="lambo">
<label for="lambo">Lamborghini</label> <br> <br>
<input type="checkbox" id="bugatti" name="car" value="bugatti">
<label for="bugatti">Bugatti</label><br>
</form>
</body>
</html>