Building BobSmithPhotography.net has stopped expanding because I've been overwhelmed with spam on the comment forums. So, if you're here and have questions about web design come and visit Forums, Blogs, Wikis dot com. It has articles that I've written, some of which are also here, and a web design forum as well so you can ask any questions you may have. There is still a lot of good stuff here though, so poke around the links and take a look.

Home » HTML Tags » p

Paragraphs

The paragraph tag defines, obviously, a paragraph.  Just like the paragraphs you wrote in school, a paragraph in HTML is a group of related sentences.  

To define a paragraph in HTML simply wrap the text with <p> and </p>.  As an example, the HTML code for the first paragraph of this page is:

<p>
The paragraph tag defines, obviously,
a paragraph. Just like the paragraphs you wrote
in school, a paragraph in HTML is a group of related
sentences.
</p>

Notice that there is a <p> before the paragraph and a </p> afterwards.   

Options
There is an option to specify horizontal alignment in your paragraph, but it has been depreciated in favor of CSS.  If you would like to use this option, valid values are left, center, right, and justify.

<p align="center">This text is centered.</p>

It is advisable to use CSS to do the same with the text-align: property.
Content managed by the Etomite Content Management System.