'active' Example : active « CSS « HTML / CSS






'active' Example

    
<html>
<head>
<style>
a:active { font-weight:bold; color:red }
</style>
</head>
<body>
<p>Press tab key to bring the link into focus.</p>
<a href="http://www.java2s.com" target="_blank">java2s.com Home Page link</a>
</body>
</html>

    
      
      








Related examples in the same category