-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (55 loc) · 1.67 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FORMS</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2 id="h2">"WELCOME TO MY WEBSITE"</h2>
<div>
<form action="post"></form>
<label for="username">User Name</label>
<br>
<input type="text" id="username"name="user"placeholder="Enter your name: ">
</div>
<br>
<div>
<form action="post"></form>
<label for="usercontact">Contact number</label>
<br>
<input type="text" id="usercontact"name="user"placeholder="Enter your contact no.">
</div>
<br>
<div>
<form action="post"></form>
<label for="usermail">Mail Id</label>
<br>
<input type="text" id="usermail"name="user"placeholder="Enter your mail id:">
</div>
<br>
<div>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label>
</div>
<br>
<div>
<label for="fruits">Favorite fruit</label>
<select name="fruits" id="fruits">
<option value="apple">Apple</option>
<option value="mango">Mango</option>
<option value="grapes">Grapes</option>
</select>
</div>
<br>
<div>
<input type="checkbox" id="sub" name="sub" >
<label for="sub">Subscribe to our newletter</label>
</div>
<br>
<footer>Copyright©2024Sri Vaishnavi</footer>
</body>
</html>