-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
185 lines (179 loc) · 6.71 KB
/
contact.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact</title>
<link rel="stylesheet" href="css/main.css" type="text/css">
</head>
<body>
<header>
<h1>My Page</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">about</a>
</li>
</ul>
</nav>
</header>
<main>
<article class="main-form">
<h2>
Contact Me
</h2>
<p>
I really like to hear from You
</p>
<form action="http://httpbin.org/get" method="get">
<fieldset>
<legend>
Personal Info
</legend>
<div>
<label for="firstName">
First Name :
</label>
<input type="text" name="firstName" id="firstName" placeholder="John" autocomplete="on" required autofocus>
</div>
<div>
<label for="lastName">
Last Name :
</label>
<input type="text" name="lastName" id="lastName" placeholder="Doe" autocomplete="on" required >
</div>
<div>
<label for="email">
Email :
</label>
<input type="email" name="email" id="email" placeholder="Your Email" required >
</div>
<div>
<label for="password">
Password :
</label>
<input type="password" name="password" id="password" placeholder="Your Secret" required >
</div>
<div>
<label for="phone">
Phone :
</label>
<input type="tel" name="phone" id="phone" placeholder="555-555-5555" pattern="[0-9]{3}[0-9]{3}[0-9]{4}" required >
</div>
<div>
<label for="decade">
Favorit decade :
</label>
<input type="number" name="decade" id="decade" min="1950" max="2020" step="10" value="1980">
</div>
<div>
<label for="coffee">
Favorit Caoffe :
</label>
<select name="coffee" id="coffee" multiple size="5">
<optgroup label="Coffees">
<option value="regular coffee">
Regular coffee
</option>
<option value="iced coffee">
Iced coffee
</option>
</optgroup>
<optgroup label="Espresso Drink">
<option value="lattee" selected>
Latte
</option>
<option value="cappuccino">
Cappuccino
</option>
<option value="cortado">
Cortado
</option>
<option value="americano">
Americano
</option>
</optgroup>
<option value="other">
Other
</option>
</select>
</div>
<!-- <div>
<label for="coffee">Favorit Coffee : </label>
<input type="text" name="coffee" id="coffee" list="coffee-list">
<datalist id="coffee-list">
<option value="coffee">
<option value="latte">
<option value="espresso">
<option value="cortado">
<option value="americano">
<option value="other">
</datalist>
</div> -->
</fieldset>
<br>
<fieldset>
<legend>
what is your favorit food :
</legend>
<div>
<input type="radio" name="food" id="tacos" value="tacos">
<label for="tacos">Tacos</label>
</div>
<div>
<input type="radio" name="food" id="pizza" value="pizza">
<label for="pizza">Pizza</label>
</div>
<div>
<input type="radio" name="food" id="other" value="other">
<label for="other">Other</label>
</div>
</fieldset>
<fieldset>
<legend>
Do You Have Pets ?
</legend>
<div>
<input type="checkbox" name="pets" id="dog" value="dog">
<label for="dog">
Dog
</label>
</div>
<div>
<input type="checkbox" name="pets" id="cat" value="cat">
<label for="cat">
Cat
</label>
</div>
<div>
<input type="checkbox" name="pets" id="fisch" value="fisch">
<label for="fisch">
Fisch
</label>
</div>
<div>
<input type="checkbox" name="pets" id="otherPet" value="otherPet">
<label for="otherPet">
Other
</label>
</div>
</fieldset>
<br>
<fieldset>
<legend>Send Me a Note</legend>
<label for="message">
Your Message
</label>
<br>
<textarea name="message" id="message" cols="30" rows="10" placeholder="Type Your Message hee"></textarea>
</fieldset>
<br>
<button type="submit">Submit</button>
<button type="submit" formaction="http://httpbin.org/post" formmethod="post">Post</button>
<button type="reset">Reset</button>
</form>
</article>
</main>
</body>
</html>