<p> Tag
The <p> tag divides content into paragraphs. The <p> designates the beginning of a paragraph, and the </p> tag ends the paragraph. Most browswers will automatically insert a double carriage return around the paragraph element.
You can also use the <p> tag as a paragraph separator. This works since HTML+ formally doesn't require you to wrap text up as paragraphs.
Differences Between HTML and XHTML
All "presentation attributes" of the p element were deprecated in HTML 4.01.
All "presentation attributes" of the p element are not supported in XHTML 1.0 Strict DTD.
Optional Attributes are id and class
id
Identifies a unique element. The value of id can be used by CSS to reference that element. It can also be used by scripting languages to reference the element. Links can be made directly to an element with a specific id. The value of the id attribute must be unique.
class
Used to reference elements with CSS. And number of elements can have the same value (unline id ).
Example:
****Standard Attributes are id, class, title, style, dir, lang, xml:lang****
<p>This is an example using the paragraph tag.</p>
This is what the paragraph looks like when the tags are used.