Basic HTML

Advance HTML

HTML Tags Reference

HTML Code Generator


HTML <font> Tag


HTML <font> tag define a font size, font face and color for text.

<font> tag is a container tag.

HTML <font> tag remove in HTML5 specification.

Example-Code:

<font face="verdana" color="red">This is First Line!</font> <br />
<font size="4" color="green">This is Second Line!</font> <br />
<font size="3" color="blue">This is Third Line!</font> <br />
Online Try This Code Your Self....   »

Example-Result:

This is First Line!
This is Second Line!
This is Third Line!

<font> Attributes

<font> tag supported following Dynamic attributes.:

Attributes Value Description
size "size_Number" Specify the text size.
color "#XXXXXX" Specify the color on the text.
face "Font_Name" Specify the font name to the text.

Dynamic Attributes

<font> tag supported following Dynamic attributes.:

Attributes Value Description
id ID_Name Declared unique id for the element.
class Predefined_Class Used in Cascading Style Sheet (CSS).
style style_Attributes CSS code specify inline the HTML element is presented.
title Title_Description Display on the "tooltip" for your elements.

<font> tag does not supported Even attributes.: