Page 16 - PlusGPT_V2.1_C7_Flipbook
P. 16
Following web page is created by using the <P> tag:
<html>
<head>
<title> Example of Paragraph</title>
</head>
<body>
<p> First paragraph of content</p>
<p> Second paragraph of content</p>
<p> Third paragraph of content</p>
<p> Fourth paragraph of content</p>
</body>
</html>
Output of the preceding web page is as follows:
The <BR> Tag
The Line Break tag is written as <BR>. This tag is used when you want to start a new line, but do not
want to start a new paragraph. This means that you want your text to come in next line without
leaving a blank line in between. This tag forces a line break wherever you will place it. It is an empty
tag.
The <BR> tag is used as follows:
<p align=“center”> You use line <br> break tag to start a <br> new line </p>
It will be shown on your web page as shown:
You use line
break tag to start a
new line
The <HR> Tag
The Horizontal ruler tag is written as <HR>. This 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. It gives a horizontal ruler (line) on the page and then the next element will be shown in a new line
after the ruler.
The <HR> tag has following attributes:
WIDTH: It displays the horizontal ruler of the specified width in pixels or in percentage.
<hr width="550"> or <hr width="80%">
14 Premium Edition-VII

