Vertical Navigation Bar
ใช้ display: block ให้ <a> ภายใน <li> และกำหนด width ให้ลิงก์เต็มพื้นที่
ตัวอย่าง
<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 5;
padding: 5;
}
li a {
display: block;
width: 70px;
background-color: orange;
}
</style>
</head>
<body>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#company">Company</a></li>
<li><a href="#product">Product</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</body>
</html>