-
Notifications
You must be signed in to change notification settings - Fork 1
/
html_form.html
41 lines (31 loc) · 1.11 KB
/
html_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
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>learning forms</title>
</head>
<body>
<h1><strong>this is a html forms</strong></h1>
<form action ="backend.sql">
<div>name:<input type="text" name="my_name"</div>
<div><br>role:<input type="text" name="my_role"</div>
<div><br>email:<input type="text" name="my_email"</div>
<div><br>id:<input type="number" name="my_id"</div>
<div>
<br>
date of birth: <input type="date" name=my_dob>
</div>
<div><br>gender:male<input type="radio" name="my_gender">
female <input type="radio" name="my_gender">
others <input type="radio" name="my_gender"></div>
<div><br>are you eligible?:<input type="checkbox" name="check_in checked"</div>
<div><br>write about yourself:<br><textarea name="client_text" cols="30" rows="10"></textarea></div>
<div>
<br>
<input type="reset" value="reset now">
<input type="submit" value="submit now">
</div>
</form>
</body>
</html>