'font' Example : font : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » font »

 

'font' Example



    
<html>
<body>
<div style="font:italic normal bolder 12pt verdana"
font font</div>
   <hr>
   <div style="padding:10px;"
        onmouseover="this.style.font='italic small-caps bold 12pt serif'"
        onmouseout="this.style.font='normal normal normal normal medium times new roman'">
        Move the mouse to change the font style.</div>
</body>
</html>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» font