-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathform.html
31 lines (31 loc) · 1.28 KB
/
form.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
<!DOCTYPE html>
<html>
<head>
<title>Form in HTML</title>
</head>
<body>
<h2>Registration form</h2>
<form>
<fieldset>
<legend>User personal information</legend>
<label>Enter your full name</label><br>
<input type="text" name="name" placeholder="Name"><br>
<label for="phone">Enter a phone number:</label><br>
<input type="tel" name="phone" placeholder="123-45-678"><br>
<label>Enter your email</label><br>
<input type="email" name="email" placeholder="Email"><br>
<label>Enter your password</label><br>
<input type="password" name="pass" placeholder="Password"><br>
<label>confirm your password</label><br>
<input type="password" name="pass" placeholder="Confirm Password"><br>
<br><label>Enter your gender</label><br>
<input type="radio" id="gender" name="gender" value="male"/>Male <br>
<input type="radio" id="gender" name="gender" value="female"/>Female <br/>
<input type="radio" id="gender" name="gender" value="others"/>others <br/>
<br>Enter your Address:<br>
<textarea></textarea><br>
<input type="submit" value="sign-up">
</fieldset>
</form>
</body>
</html>