-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (84 loc) · 2.28 KB
/
index.html
File metadata and controls
84 lines (84 loc) · 2.28 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!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" />
<link rel="stylesheet" href="home.css" />
<title>Form</title>
</head>
<body>
<div class="form">
<form action="#">
<h3 class="formHeading">Shouryaraj Singh Goud</h3>
<div class="inputfield">
<label>First Name</label>
<input
type="text"
required
name="firstName"
placeholder="Enter your firstName"
/>
<br />
</div>
<div class="inputfield">
<label>Last Name</label>
<input
type="text"
required
name="lastName"
placeholder="Enter your lastName"
/>
<br />
</div>
<div class="inputfield">
<label>Email</label>
<input
type="email"
required
name="email"
placeholder="Enter your email"
/>
<br />
</div>
<div class="inputfield">
<label>D.O.B</label>
<input type="date" required name="dateOfBirth" max="2023-05-12" />
<br />
</div>
<div class="inputfield">
<label>Mobile No.</label>
<input
type="text"
required
pattern="[6789][0-9]{9}"
title="valid mobile number"
placeholder="Enter your mobile number"
/>
<br />
</div>
<div class="inputRadio">
<label>Gender:</label>
<input type="radio" name="gender" value="male" required /> Male
<input type="radio" name="gender" value="female" required /> Female
<br />
</div>
<div class="inputfield">
<label>Address</label>
<textarea
id="message"
name="message"
rows="4"
cols="40"
placeholder="Enter your address"
></textarea>
<br />
</div>
<div class="button">
<button type="submit">Submit</button>
<button type="reset">Clear Form</button>
</div>
</form>
</div>
</body>
</html>