-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForm.html
More file actions
64 lines (60 loc) · 1.94 KB
/
Form.html
File metadata and controls
64 lines (60 loc) · 1.94 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
<!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">
<!-- Creating a form -->
<title>Forms and inputs</title>
<b><h1>Biodata form</h1></b>
<link rel="stylesheet" href="Forms.css">
</head>
<body>
<div class="link">
<a href="Index.html">Home</a>
</div>
<div class="blanket"></div>
<div class="blanket"></div>
<div id="blanket"></div>
<div>
<b><i><label for="name">Name</label><br></i></b>
<input type="text" id="name" name="name" placeholder="Enter a name">
</div>
<div>
<b><i><label for="email">Email</label><br></b></i>
<input type="email" name="email" id="email" placeholder="Enter an email">
</div>
<div>
<b><i><label for="message">Message</label><br></b></i>
<textarea name="message" id="message" placeholder="Enter text"
cols="50" rows="6"></textarea>
</div>
<div>
<b><i><label for="sex">Sex</label></i></b>
<input type="radio" name="sex" value="male"
id="sex">Male
<input type="radio" name="sex" value="female"
id="sex">Female
</div>
<div>
<b><i> <label for="marital-status">Marital status</label><br></i></b>
<select name="marital-status" id="marital-status">
<option value="married">Married</option>
<option value="single">Single</option>
</select>
</div>
<!-- Number -->
<div>
<b><i> <label for="age">Age</label><br></i></b>
<input type="number" name="age" id="age">
</div>
<div>
<b><i> <label for="date-of-birth">Date of Birth</label><br></i></b>
<input type="date" name="date-of-birth" id="date-of-birth">
</div>
<!-- Button -->
<input type="button" value="Submit">
<button type="reset">Reset</button>
</form>
</body>
</html>