paragraph with different font : p : Text Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Text Attributes » p »

 

paragraph with different 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#times-new-roman {
          font-family: "Times New Roman";
      }
      p#arial {
          font-family: Arial;
      }
        </style>
    </head>
    <body>
    <p id='times-new-roman'>
        This font is Times New Roman.
    </p>
    <p id='arial'>
        This font is Arial.
    </p>
    </body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Text Attributes
» p