p

< html‎ | elements
Revision as of 21:17, 10 October 2012 by Defiant (Talk | contribs)

Jump to: navigation, search

p



Summary

Paragraph element (<p>) represents a paragraph.


Overview Table

DOM Interface HTMLParagraphElement

Examples

This example uses the P element to create a paragraph.

HTML

<p>This is a paragraph.</p>

Notes

Remarks

The P element represents a paragraph. It cannot contain block-level elements (including P itself).

Windows Internet Explorer 8. In IE8 Standards mode, the P element is automatically closed when a TABLE element is encountered. For example, <p><table>..</table></p> is now parsed as <p>..</p><table>..</table>. For more information, see HTML Enhancements in Internet Explorer 8 and Defining Document Compatibility.

Standards information


HTML information

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]