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


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

 

'font-size' Example



    
<html>
<body>
<p style="font-size:14pt">This text will be rendered in 14pt size.</p>
<hr>
<div style="padding:10px;"
     onmouseover="this.style.fontSize='16pt'"
     onmouseout="this.style.fontSize='12pt'">
     Move the mouse pointer to change the font-size value.</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 size