Page 91 - 2403_Trackpad_V5.1_C5_Fb
P. 91
<HR> TAG
The <HR> tag is used to divide the webpage into different sections by drawing a horizontal line in
the webpage.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> HR Tag </TITLE>
</HEAD>
<BODY>
<P>This is the first paragraph of the tag. HTML is the standard markup
language for Webpages.</P>
<HR>
<P>This is the second paragraph of the tag.HTML is the standard markup
CSS is like the colour and texture
language for Webpages.</P>
of a flower or leaf, which enhances
<HR>
the plant's visual appeal.
</BODY>
</HTML>
THE <SUB> TAG
The <sub> (subscript) tag is used to display text below the baseline. This tag is often used in
mathematical formulas, chemical equations, and other situations where text or numbers should
appear in a smaller, lower position. For example:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Chemical Formula</TITLE>
</HEAD>
<BODY>
<P>The chemical formula for water is H<SUB>2</SUB>O.</P>
</BODY>
</HTML>
Introduction to HTML5 89

