-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (44 loc) · 2.09 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
56
57
58
59
<html><head><title>Forms</title><link rel="stylesheet" href="style.css">
</head>
<body background="https://images.unsplash.com/photo-1462332420958-a05d1e002413?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1807&q=80">
<center><h1 class="heading-1">General Form</h1></center>
<form>
<label><b>Name:</b></label>
<input required><br><br>
<label><b>Email:</b></label>
<input required type="email"><br><br>
<label><b>Contact:</b></label>
<input required type="number"><br><br>
<label><b>DOB:</b></label>
<input required type="date">
<h4 class="text-red">Branch:</h4>
<input required type="radio" name="branch" id="branch1" value="CS">
<label for="branch1">CS</label><br>
<input required type="radio" name="branch" id="branch2" value="CSE">
<label for="branch2">CSE</label><br>
<input required type="radio" name="branch" id="branch3" value="CSE-AIML">
<label for="branch3">CSE-AIML</label><br>
<input required type="radio" name="branch" id="branch4" value="CSE-DS">
<label for="branch4">CSE-DS</label><br>
<input required type="radio" name="branch" id="branch5" value="IT">
<label for="branch5">IT</label><br>
<input required type="radio" name="branch" id="branch6" value="CE">
<label for="branch4">CE</label><br><br>
<h4 class="text-red"><b>Gender:</b></h4>
<input required type="radio" name="gen" id="gen1" value="Male">
<label for="gen1">Male</label>
<input required type="radio" name="gen" id="gen2" value="Female">
<label for="gen2">Female</label><br><br>
<h4 class="text-red"><b>Favourite Colour:</b></h4>
<input required type="color"><br><br>
<button>
<div>
<input type="submit">
</div></button>
<button>
<div>
<input type="reset" value="Reset">
</div></button>
</form>
</body>
</html>