Menu ▼

Previous Next

<font> :

By using <font> tag we can give different color and sized to text.

Syntax :

<font size="font size" color="font color" face="font type">Text here.</font>


Example :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <font size="12" color="red" face="verdana">Font size 12 font color Red and font family

        verdana applied.</font>

</body>

</html>


Output :
HTML Tutorial Font size 12 font color Red and font family verdana applied.
Previous Next




Search dotnetlearners.com