<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: black;
}
li { float: left; }
li a {
display: block;
color: white;
text-align: center;
padding: 20px 25px;
text-decoration: none;
}
li a:hover {
background-color: gray;
color: white;
}
.active {
background-color: green;
color: white;
}
</style>
</head>
<body>
<ul>
<li><a href="home" class="active">Home</a></li>
<li><a href="about">About</a></li>