This repository was archived by the owner on Mar 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml5.html
More file actions
58 lines (57 loc) · 2.13 KB
/
html5.html
File metadata and controls
58 lines (57 loc) · 2.13 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
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<style>
body {
font-family: Arial, sans-serif;
}
.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
}
.form-input {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
</style>
</head>
<body>
<div class="container">
<h2>Registration Form</h2>
<input type="text" class="form-input" placeholder="First Name">
<input type="text" class="form-input" placeholder="Last Name">
<input type="email" class="form-input" placeholder="Email">
<input type="password" class="form-input" placeholder="Password">
<input type="password" class="form-input" placeholder="Re-enter Password">
<label for="gender">Gender:</label>
<select id="gender" class="form-input">
<option value="male">Male</option>
<option value="female">Female</option>
</select>
<input type="number" class="form-input" placeholder="Age">
<input type="tel" class="form-input" placeholder="Phone Number">
<textarea class="form-input" placeholder="Address"></textarea>
<label>Languages known:</label>
<input type="checkbox" id="english" value="english">
<label for="english">English</label>
<input type="checkbox" id="kannada" value="kannada">
<label for="kannada">Kannada</label>
<input type="checkbox" id="hindi" value="hindi">
<label for="hindi">Hindi</label>
<input type="checkbox" id="telugu" value="telugu">
<label for="telugu">Telugu</label>
<input type="checkbox" id="others" value="others">
<label for="others">Others</label><br>
<input type="checkbox" id="declaration">
<label for="declaration">I hereby declare all the given details are true</label>
<button class="form-button">Register</button>
</div>
</body>
</html>