Page 80 - Trackpad_V1_Book 6_Flipbook
P. 80
The web browser displays each heading with a different heading size.
uiz Bee What is an empty tag? Write an example of empty tag.
_________________________________________________________________
<HR> TAG
The <HR> tag is used to divide the webpage into different sections by drawing a horizontal line in
the webpage. The thickness of the horizontal line is specified through the Size attribute and the
length is specified through the Width attribute in pixels or as a percentage. The Color attribute is
used to set the colour of the rule. The Noshade attribute makes the line appear flat grey, giving a
2D effect to the rule.
<!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 Web pages. </p>
<hr Size="10" width="80%" >
<p>This is the second paragraph of the tag.HTML is the standard markup
language for Web pages.</p>
<hr Size="10" width="80%" color="grey">
<hr Size="10" width="80%" color="Red">
</BODY>
</HTML>
78 Trackpad (Version 1.0)-VI

