Framify

Tag: <p>

<p> Syntax

Syntax Diagram for <p>
Opening Tag Content Closing
Tag
Open Parameter = Value Close
<p align = left > paragraph
text
</p>
center
right
justifyNC

<p> Description

The <p> and its optional end tag </p> delimit a paragraph. Paragraphs are separated from each other by blank lines.

The alignment parameter's legal values are:

left
The left ends of the lines of text are aligned along a vertical line at the left margin of the text area, and the right ends of the lines of text are ragged.
center
The centers of the lines of text are aligned along a vertical line in the center of the text area, and both the left- and right ends of the lines of text are ragged.
right
The right ends of the lines of text are aligned along a vertical line at the right margin of the text area, and the left ends of the lines of text are ragged.
justifyNC
For all lines of text but the last one, both ends are aligned along vertical lines at their respective margins of the text area, the required length having been attained by inserting an appropriate number of one-pixel-wide spaces between the words in each line. The last line of the paragraph is left-justified. (Internet Explorer doesn't support this.)

<p> Examples

This markup: <p align=left> Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. <p align=center> Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. <p align=right> Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. <p align=justify> Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. . . .causes the following to be displayed:

Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure.

Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure.

Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure.

Fourscore and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure.

Change the width of your browser window to see the effect on the paragraphs above.
Last Modified: