<p>indicates the start of a paragraph block. This means that the current line of output is terminated and a blank new line is output before text display continues. If a <p> tag is encountered within a paragraph block this forces the start of a new paragraph. The same effect can be forced using the rarely seen </p>.
There is a <p> tag immediately after the word here
in this text. If it does not appear as a break try re-sizing your display window. There were no spaces around the <p>, it was simply
.... word here<p>in this ....The effect of a sequence of <p> tags can vary. Here is a sequence of three such tags
End of sequence of 3 <p> tags. On most browsers the effect of a sequence of <p> tags is the same as the effect of a single tag.
Some browsers support the use of the align attribute with the <p> tag honouring the values left, center and right. The following paragraphs illustrate the effect of this attribute. You may find it useful to change the width of your browser window and observer the effect on the display of the following paragraphs.
This paragraph is an example of left alignment. It will probably look exactly like any other paragraph since left alignment is the default. The effect is that the right hand edge of the text is ragged and the left hand edge justified.
This paragraph is an example of centre alignment. The effect is that both edges of the text are ragged but by equal amounts. The effect will be the same as using the <center> tag, however the use of the attribute only applies to a single paragraph whereas <center> ... </center> can apply to a sequence of paragraphs.
This paragraph is an example of right alignment. The effect is that the left hand edge of the text is ragged rather and the right hand justified. It may be useful in conjunction with a right aligned image but is otherwise rarely seen.
Note Some browsers (such as IE4 and NN$) support the justify value of the align attribute. The effect of this is to justify both the left and right hand edges of the paragraph in a manner familiar to the users of word processors. This attribute value is not part of the HTML 3.2 standard. This attribute was applied to the current paragraph. Its effect is best seen if you have a fairly narrow viewing window. If you want to apply this property to a set of paragraphs, this attribute can also be used with the <div> tag.
Browsers