Page 90 - TP_Plus_v4_Class7
P. 90
The <HR> Tag
The <HR> tag is used when you want to divide your web page into different sections. It is also used
when you want to draw a line between two paragraphs. It is an empty tag and does not need an end
tag. It gives a horizontal ruler (line) on the page and then the next element will be shown in a new line
after the ruler.
<!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>
<P>This is the second paragraph of the tag. HTML is the standard markup
language for Web pages.</P>
<HR>
</BODY>
</HTML>
88 Plus (Ver. 4.0)-VII

