x
1
2
<html>
3
<head>
4
<meta charset="utf-8">
5
<style>
6
ul {
7
list-style-type: none;
8
margin: 0;
9
padding: 0;
10
}
11
12
a:link,
13
a:visited {
14
display: block;
15
font-weight: bold;
16
color: #FFFFFF;
17
background-color: #98bf21;
18
width: 120px;
19
text-align: center;
20
padding: 4px;
21
text-decoration: none;
22
text-transform: uppercase;
23
}
24
25
a:hover,
26
a:active {
27
background-color: #7A991A;
28
}
29
</style>
30
</head>
31
32
<body>
33
<ul>
34
<li><a href="#home">Home</a></li>
35
<li><a href="#news">News</a></li>
36
<li><a href="#contact">Contact</a></li>
37
<li><a href="#about">About</a></li>
38
</ul>
39
</body>
40
</html>