how to highlight the menu item page default?

this is the simple program to highlight the default page using css:

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>addClass demo</title>
 <style type="text/css">
a, a:visited{color:#000; font-weight:bold; text-decoration:none;}
ul.navigation{list-style:none; font: 0.75em/1.5em normal Tahoma, Verdana, Geneva, sans-serif;}
ul.navigation li{ background:#ececec; margin:1px;padding:5px 15px; display:block; float:left;}
ul.navigation li.highlight{ background:#666;}
ul.navigation li.highlight a{ color:#f5f5f5; cursor:default;}
</style>
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
</head>
<body>
<ul class="navigation">
<li><a href="home.html">Home</a></li>
<li class="highlight"><a href="entertainment.html">Entertainment</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>

</body>
</html>

Search This Blog

All the rights are reserved to this blog is belongs to me only.. Powered by Blogger.