'font-family' Example : font family « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'font-family' Example

    
<html>
<body>
<div onmouseover="this.style.fontFamily='arial'" 
     onmouseout="this.style.fontFamily='times'">
     Move the mouse over and out to change the font-family value.
</div>
</body>
</html>

    
      
      








Related examples in the same category

1.'font-family' Syntax and Note
2.'font-family' Possible Values
3.'font-family' is applied to