-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (67 loc) · 3.63 KB
/
index.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up Form</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Nunito:400,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
<link rel="icon"
type="image/png"
href="images/favicon.png">
</head>
<body>
<form action="index.html" method="post">
<h1>Sign Up Form with HTML Forms</h1>
<h2>Please note that this HTML form is a demonstration for beginner web developers, and it is for educational purposes only.
<span class="disclaimer">Do not use your real credentials.
</span> Do not use any credentials anyway, because the browser won't send it anywhere.</h2>
<fieldset>
<legend><span class="number">1</span> Your basic info</legend>
<label for="name">Name:</label>
<input type="text" id="name" name="user_name">
<label for="mail">Email:</label>
<input type="email" id="mail" name="user_email">
<label for="password">Password:</label>
<input type="password" id="password" name="user_password">
<label>Age:</label>
<input type="radio" id="under_18" value="under_18" name="user_age"><label for="under_18" class="light">Under 18</label><br>
<input type="radio" id="over_18" value="over_18" name="user_age"><label for="over_18" class="light">18 or Older</label>
</fieldset>
<fieldset>
<legend><span class="number">2</span> Your profile</legend>
<label for="bio">Biography:</label>
<textarea id="bio" name="user_bio"></textarea>
<label for="job">Job role:</label>
<select id="job" name="user_job">
<optgroup label="Web">
<option value="frontend_developer">Front-End Developer</option>
<option value="php_developer">PHP Developer</option>
<option value="python_developer">Python Developer</option>
<option value="rails_developer">Rails Developer</option>
<option value="web_designer">Web Designer</option>
<option value="wordpress_developer">WordPress Developer</option>
</optgroup>
<optgroup label="Mobile">
<option value="android_developer">Android Developer</option>
<option value="ios_developer">iOS Developer</option>
<option value="mobile_designer">Mobile Designer</option>
</optgroup>
<optgroup label="Business">
<option value="business_owner">Business Owner</option>
<option value="freelancer">Freelancer</option>
</optgroup>
</select>
<label>Interests:</label>
<input type="checkbox" id="development" value="interest_development" name="user_interest">
<label class="light" for="development">Development</label><br>
<input type="checkbox" id="design" value="interest_design" name="user_interest">
<label class="light" for="design">Design</label><br>
<input type="checkbox" id="business" value="interest_business" name="user_interest">
<label class="light" for="business">Business</label><br>
</fieldset>
<button type="submit">Sign Up</button>
</form>
</body>
</html>