Page 18 - PlusGPT_V2.1_C7_Flipbook
P. 18
The <I> Tag
The Italic tag is written as <I>. This tag is used to give 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 pair as <I> and </I>.
The <U> 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 pair as <U> and </U>.
Following HTML web page uses the <B>, <I> and <U> tags.
<html>
<head>
<title> Applying styles </title>
</head>
<body>
<h1>The uses of Bold, Italic and Underline tag </h1>
<p> This is a normal text without the use of Bold, Italic or Underline tag</p>
<p><b>This text is in bold.</b></p>
<p><i>This text is in italics.</i></p>
<p><u>This text is underlined.</u></p>
</body>
</html>
Using <B>, <I>, <U> tags
The <SUP> Tag
The superscript tag is written as <SUP>. This tag is used to turn the enclosed text into a superscript. For
2
example, E=mc is coded as E=mc<sup>2</sup>
The <SUB> 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
<html>
<head>
16 Premium Edition-VII

