Page 72 - CA_165_V2.0_Flipbook
P. 72
The following table lists all the attributes of the <FONT> tag, their possible values, and a description of
their purpose:
Attribute Name Value Description
FACE Font name Specifies the font family for the text.
Not supported in HTML5
SIZE Numeric value (e.g., 1 to 7) Specifies the size of the text, relative to the
base font size.
Not supported in HTML5
COLOR Colour name or hex value Specifies the color of the text.
Not supported in HTML5
<SMALL> Tag
This is a container tag and it makes the enclosed text inside it one size smaller than the default size. i.e.,
if the default size is ‘3’, it displays the blocked text in size ‘2’ (it has the same effect as <FONT SIZE =
-1>). The <SMALL> tag can be nested to display the blocked text in smaller form. The syntax for using
<SMALL> tag is as follows:
<SMALL> <SMALL> Text </SMALL> </SMALL>
For example:
<SMALL> ORANGE EDUCATION </SMALL>
<SMALL> <SMALL> ORANGE EDUCATION </SMALL> </SMALL>
<SMALL> Tag
Type Function Attributes Contains Used Inside
Container tag Displays text in a None Text content to be Typically placed
smaller size than the styled. within <BODY> or
surrounding text. other container tags.
Notes
The <SMALL> tag is not supported in HTML5.
The following HTML code uses the <SMALL> tag to display text in a smaller font size:
<HTML>
<HEAD>
<TITLE> Using SMALL Tag </TITLE
</HEAD>
<BODY>
ORANGE EDUCATION
<SMALL> ORANGE EDUCATION</SMALL>
70 Touchpad Computer Applications-X

