HTML Fonts

  • Example
  • Code
    <html>
    <body>
    <p>
    <font size="5" face="arial" color="red">
    This paragraph is in Arial, size 5, and in red text color.
    </font>
    </p>
    <p>
    <font size="3" face="verdana" color="blue">
    This paragraph is in Verdana, size 3, and in blue text color.
    </font>
    </p>
    <p>The font element is deprecated in HTML 4. Use CSS instead!</p>
    </body>
    </html>
  • Preview
  • This paragraph is in Arial, size 5, and in red text color. This paragraph is in Verdana, size 3, and in blue text color. The font element is deprecated in HTML 4. Use CSS instead!

No comments:

Post a Comment