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






'hover' Example

    
<html>
<head>
<style>
a:hover { font-weight:bold; color:red }
</style>
</head>

<body>
<p>Move the mouse over the following link.</p>

<a href="http://www.java2s.com" target="_blank">
java2s.com home page link
</a>

</body>
</html>

    
      
      








Related examples in the same category

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