<ul> <li class="active"><a href="a.html">Home</a></li> <li><a href="b.html">About Us</a></li> </ul>
<ul> <li ><a href="a.html">Home</a></li> <li class="active"><a href="b.html">About Us</a></li> </ul>
<% if(['some case']) { %> <li class="active"> <% } else { %> <li> <% } %>
<style> .active a:visited { add css for visited } </style>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)