-
Notifications
You must be signed in to change notification settings - Fork 26.8k
/
styling-basics1-download.html
55 lines (51 loc) · 1.24 KB
/
styling-basics1-download.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8"/>
<title>Styling basics: Task 1</title>
<style>
* {
box-sizing: border-box;
}
body {
background-color: #fff;
color: #333;
font: 1em / 1.4 Helvetica Neue, Helvetica, Arial, sans-serif;
padding: 1em;
margin: 0;
width: 500px;
}
</style>
</head>
<body>
<form>
<h2>Edit your preferences</h2>
<ul>
<li>
<label for="e-mail">Email:</label>
<input type="email" id="e-mail" name="e-mail">
</li>
<li>
<label for="website">Website:</label>
<input type="url" id="website" name="website">
</li>
<li>
<label for="phone">Phone number:</label>
<input type="tel" id="phone" name="phone">
</li>
<li>
<label for="food">Favorite food:</label>
<select name="food" id="food">
<option>Salad</option>
<option>Curry</option>
<option>Pizza</option>
<option>Fajitas</option>
</select>
</li>
<li>
<button>Update preferences</button>
</li>
</ul>
</form>
</body>
</html>