Page 30 - Modular_V1.1_Flipbook
P. 30
THE <P> TAG
The <P> tag defines start and end of a paragraph in the text. It is both a container as well
as an empty tag. Whenever you want to start a new paragraph, you can start the paragraph
tag using <P> without closing the previous paragraph tag. In order to avoid confusion,
it is advised to use this tag as a container tag starting with the <P> tag and ending with
the </P> tag. The paragraph tag automatically inserts a blank line between two paragraphs.
The <P> tag use the ALIGN attribute.
The ALIGN attribute can take three values:
Left: It aligns the text to the left of the web page. For example,
<p align=”left”> Animation </p>
Right: It aligns the text to the right of the web page. For example,
<p align=”right”> Animation </p>
Center: It aligns the text to the center of the web page. For example,
<p align=”center”> Animation </p>
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:
Using <P> Tag
28 Touchpad MODULAR (Version 1.1)-IX

