font size and relative keyword : font size : Text HTML CSS TUTORIALS


HTML CSS TUTORIALS » Text » font size »

 

font size and relative keyword


 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/div/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title></title>
        <style type='text/css'>
      body {
          font-size: 17px;
      }
      {
          font-size: larger;
      }
        </style>
    </head>
  <body>
      This font is 14 pixels in size.
      <p>
          This is a test. <span style='font-size: large;'> 
          This is a test. </span>
      </p>
  </body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Text
» font size