HTML Paragraph (6.2)

paragraphs 6.2

HTML Center Aligned Paragraph:

Following example shows the use of Align attribute in paragraph tag. In this example the value of Align attribute is Center.


Example5.3:

<html>

 

<head>

<title>Website-School/HTML Paragraphs example 3</title>

</head>

 

<body>

<p ALIGN=”center”>This paragraph is displayed in center because value of Align attribute is center. </p>

</body>

</html>

Right Aligned Paragraph:

Following example shows the use of Align attribute in paragraph tag. In this example the value of Align attribute is Right. Example5.4:

<html>

 

<head>

<title>Website-School/HTML Paragraphs example 4</title>

</head>

 

<body>

<p ALIGN=”right”>This paragraph is displayed at right because value of Align attribute is right. </p>

</body>

</html>

Justified Paragraph:

Following example shows the use of Align attribute in paragraph tag. In this example the value of Align attribute is Justify.

Example5.5:

<html>

 

<head>

<title>Website-School/HTML Paragraphs example 5</title>


</head>

 

<body>

<p ALIGN=”justify”>This paragraph is displayed as justified because value of Align attribute is justify.This paragraph is displayed as justified because value of Align attribute is justify.This paragraph is displayed as justified because value of Align attribute is justify.This paragraph is displayed as justified because value of Align attribute is justify. </p>

</body>

 

</html>

For more visit next posts in this category.To go back to Contents of this tutorial: Contents of HTML Tutorial

email

2 Responses to HTML Paragraph (6.2)

  1. Great article! I just added it to my bookmarks.

  2. Great article! I just bookmarked it.

Leave a Reply