'font-style' Example : font style « CSS « HTML / CSS






'font-style' Example

  
    
<html>
<body>
<div onmouseover="this.style.fontStyle='italic'" 
     onmouseout="this.style.fontStyle='normal'">
     Move the mouse pointer to change the font style value.
</div>
</body>
</html>

    
      
        
    
  








Related examples in the same category

1.Font style: oblique
2.font: status-bar
3.font: small-caption
4.font: icon
5.Font style: normal
6.font-style: italic
7.font-style: italic;
8.font-style: oblique;
9.font style settings
10.system fonts
11.Font style: italic
12.font-style:italic; assigns the constant value of italic to font-style. The font-style property also allows two other constant values: normal and oblique.
13.font-style: normal
14.font-style: oblique
15.font: message-box
16.font: menu
17.This is the caption font