'active' Example : active « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'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

1.'active' Syntax and Note
2.'active' is applied to