The <p> tag defines a paragraph.
Differences Between HTML and XHTMLAll "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.
Example Source Output <p>This is some text in a very short paragraph</p>This is some text in a very short paragraph
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
Attribute Value Description DTD align leftFor a full description, go to Standard Attributes.
Event Attributes onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyupFor a full description, go to Event Attributes.
Try-It-Yourself DemosSimple paragraphs
How paragraph elements are displayed in the browser.
More paragraphs
Some of the default behaviors of paragraph elements.
Poem problems
Some problems with HTML formatting.
本文地址:http://com.8s8s.com/it/it7370.htm