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






'font-size' Example

    
<html>
<body>
<p style="font-size:14pt">text.</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>

    
      
      








Related examples in the same category

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