-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforms.html
51 lines (48 loc) · 1.88 KB
/
forms.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
<!doctype html>
<html lang="en">
<head>
<link rel="stylesheet" href="Assets/css/divstyle.css">
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Student Registration Form</title>
</head>
<body>
<div class="myform">
<h2>Registration Form</h2>
<form action="">
<label for="fname">First Name</label>
<input type="text" id="fname" required placeholder="Enter First Name"><br><br>
<label for="lname">Last Name</label>
<input type="text" id="lname" required placeholder="Enter your first name "><br><br>
<label for="email">Email Address</label>
<input type="email" id="email"><br><br>
<label for="pno">Phone Number</label>
<input type="text" id="pno"><br><br>
<label for="male">Male</label>
<input type="radio" id="male" name="gender">
<label for="female">Female</label>
<input type="radio" id="female" name="gender">
<label for="other">Other</label>
<input type="radio" id="other" name="gender"><br><br>
<label for="course"> Course Taken</label>
<select name="course" id="course">
<option value="js">Javascript</option>
<option value="Php">Php</option>
<option value="django">Django</option>
<option value="React">React</option>
<option value="Mysql">Mysql</option>
</select><br><br>
<label for="pic">Upload Photo</label>
<input type="file" id="pic"><br><br>
<label for="dbirth">Date of Birth</label>
<input type="date" required placeholder="Enter your date of birth"><br><br>
<label for="pass">Password</label>
<input type="password" id="pass"><br><br>
<button type="submit" class="btn">Register</button>
<!-- <input type="submit" class="btn" value="Register"><br><br>-->
</div>
</form>
</body>
</html>