-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSS_Task5.html
More file actions
72 lines (65 loc) · 1.59 KB
/
Copy pathCSS_Task5.html
File metadata and controls
72 lines (65 loc) · 1.59 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Task5</title>
<style>
body {
padding-left: 11em;
font-family: Georgia, "Times New Roman", Times, serif;
color: purple;
background-color: #d8da3d;
}
ul.navbar {
list-style-type: none;
padding: 0;
margin: 0;
position: absolute;
top: 2em;
left: 1em;
width: 9em;
}
h1 {
font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
}
ul.navbar li {
background: white;
margin: 0.5em 0;
padding: 0.3em;
border-right: 1em solid black;
}
ul.navbar a {
text-decoration: none;
}
a:link {
color: blue;
}
a:visited {
color: purple;
}
address {
margin-top: 1em;
padding-top: 1em;
border-top: thin dotted;
}
</style>
</head>
<body>
<ul class="navbar">
<li><a href="index.html">Home page</a></li>
<li><a href="musings.html">Musings</a></li>
<li><a href="town.html">My town</a></li>
<li><a href="links.html">Links</a></li>
</ul>
<h1>My first styled page</h1>
<p>Welcome to my styled page!</p>
<p>
It lacks images, but at least it has style. And it has links, even if they
don't go anywhere…
</p>
<p>There should be more here, but I don't know what yet.</p>
<address>
Made 6 September 2023<br />
by myself hmm.
</address>
</body>
</html>