This is the caption font : font style « CSS « HTML / CSS

HTML / CSS » CSS » font style 
This is the caption font
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title></title>
        <style type='text/css'>
      p#caption {
          font: caption;
      }
        </style>
    </head>
  <body>
    <p id='caption'>
        This is the caption font.
    </p>
  </body>
</html>

   
  
Related examples in the same category
1.'font-style' Example
2.Font style: oblique
3.font: status-bar
4.font: small-caption
5.font: icon
6.Font style: normal
7.font-style: italic
8.font-style: italic;
9.font-style: oblique;
10.font style settings
11.system fonts
12.Font style: italic
13.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.
14.font-style: normal
15.font-style: oblique
16.font: message-box
17.font: menu
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.