<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>擬似クラス(1)</title>
<style type="text/css">
.nav {
font-size: 0.875em;
font-family: Meiryo, "メイリオ", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴシック Pro W3", Osaka, sans-serif;
line-height: 1.8;
width: 200px;
margin: auto;
}
.nav ul li {
color: coral;
}
.nav a:link {
color: #000;
text-decoration: none;
}
.nav a:visited {
color: #000;
}
.nav a:hover {
color: coral;
text-decoration: underline;
}
</style>
</head>
<body>
<div class="nav">
<ul>
<li><a href="#">メニューのリンク1</a></li>
<li><a href="#">メニューのリンク2</a></li>
<li><a href="#">メニューのリンク3</a></li>
<li><a href="#">メニューのリンク4</a></li>
<li><a href="#">メニューのリンク5</a></li>
</ul>
</div>
</body>
</html>