Web Designing...

Web Designing...

Wednesday, February 10, 2016

HTML Fonts

HTML Fonts


The font-family property defines the font to be used for an HTML element:
  <!DOCTYPE html>
     <html>
        <body>
          <h1 style="font-family:verdana;">This is a heading</h1>
          <p style="font-family:courier;">This is a paragraph.</p>
        </body>
     </html>

No comments:

Post a Comment