Page 94 - iPlus_Ver_2.0_class_6
P. 94
<hr width="550"> or <hr width="80%">
• SIZE: It controls the height or the thickness of the horizontal ruler.
<hr size="4">
• COLOR: It is used to apply the background colour.
<hr color="pink">
• ALIGN: It is used to align the horizontal ruler left, right and center.
<hr align="right">
The Bold Tag
The Bold tag is written as <B>. This tag is used to give a bold effect to your text. You need to tell
the web browser when to start using the bold effect and where to stop using the bold effect. It
is a container tag and used in pairs as <B> and </B>.
The Italic Tag
The Italic tag is written as <I>. This tag is used to give an italic effect to your text. You need to
tell the web browser when to start using the italic effect and where to stop using the italic effect.
It is also a container tag and used in pairs as <I> and </I>.
The Underline Tag
The Underline tag is written as <U>. This tag is used to underline your text. You need to tell the
web browser when to start underlining and where to stop underlining the text. It is a container
tag and used in pairs as <U> and </U>.
The Superscript Tag
The superscript tag is written as <SUP>. This tag is used to turn the enclosed text into a superscript.
For example, E=mc2 is coded as E=mc<sup>2</sup>
The Subscript Tag
The subscript tag is written as <SUB>. This tag is used to turn the enclosed text into a subscript.
For example, H O is coded as H<sub>2</sub>O
2
The <FONT> Tag
HTML provides the <FONT> tag to change certain properties such as font size, face and colour
of a block of text on a web page. To do this, the <FONT> tag provides three attributes which you
can use in the following way:
• FACE: It allows you to set the font family such as Times New Roman, Verdana.
<font face="Times New Roman"> Animation </font>
• SIZE: It allows you to set the font size.
<font size="4"> Animation </font>
• COLOR: It allows you to set the font colour.
<font color="green"> Animation </font>
92
iPlus (Ver. 2.0)-VI

