The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.
The HTML p tag is used for defining a paragraph.
Also see the HTML
tag for creating a line break within a paragraph, the <*q> and tags for defining quoted text, and the HTML 5 <*dialog> tag for declaring dialog.
Example<*p>This paragraph is defined using the HTML p tag<*/p>
Attributes: Attributes specific to this tag:
None
Other Attributes
Attribute-- Description dir-- Specifies the direction of the text class-- Document wide identifier. id-- Document wide identifier lang-- Language code title-- Specifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip"). style-- Inline style (CSS) align-- Specifies alignment (left, right, center, justified) onclick-- Intrinsic event ondbclick-- Intrinsic event onmousedown-- Intrinsic event onmouseup-- Intrinsic event onmouseover-- Intrinsic event onmousemove-- Intrinsic event onmouseout-- Intrinsic event onkeypress-- Intrinsic event onkeydown-- Intrinsic event onkeyup-- Intrinsic event |