-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform tag.html
31 lines (31 loc) · 992 Bytes
/
form tag.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
<!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 tag</title>
<style>
form
{
border: 1px solid black;
}
</style>
</head>
<body>
<form>
Enter Your Name:-<input type="textbox" size="30"><br><br>
Gender: <input type="radio" name="g">Male <input type="radio" name="g"> Female <br><br>
Hobbies: <input type="checkbox"> Cricket <input type="checkbox"> Football <br><br>
Select Your City:
<select>
<option value="Rani">Rani</option>
<option value="Falna">Falna</option>
<option value="Pali">Pali</option>
<option value="Sumerpur">Sumerpur</option>
</select><br><br>
<br>
<textarea rows="5" cols="40" placeholder="Enter Comment here... "></textarea>
</form>
</body>
</html>