Page 80 - Chinmaya_C6_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 Premium Edition-VI

