<font> HTML Tag

In this article I will discuss <font> tag of HTML
  • 1906

The HTML font tag is used to specify the font to use. The <font> tag specifies the font face, font size, and font color of text.

Example

<html>

<head>

    <title></title>

</head>

<body>

    <p>

        <font size="5" color="olive">In this article I explain the font tag and the example

            shows some color name having different font, size and color.</font></p>

    <p>

        <font face="verdana" size="5" color="red">Red Color</font></p>

    <p>

        <font face="Times new Roman" size="3" color="blue">Blue Color</font></p>

    <p>

        <font face="Arial" size="1" color="green">Green Color</font></p>

</body>

</html>

 

Output

In this article I explain the font tag and the example shows some color name having different font, size and color.

Red Color

Blue Color

Green Color

Ask Your Question 
 
Got a programming related question? You may want to post your question here
 
© 2019 DotNetHeaven. All rights reserved.