p
(Talk) |
|||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Page_Title}} | ||
{{Flags | {{Flags | ||
| − | |High-level issues= | + | |High-level issues=Missing Relevant Sections, Needs Topics, Data Not Semantic, Unreviewed Import |
| − | |Content=Incomplete, Not Neutral, Compatibility Incomplete, Examples Best Practices | + | |Content=Incomplete, Not Neutral, Cleanup, Compatibility Incomplete, Examples Best Practices |
}} | }} | ||
| − | {{Standardization_Status | + | {{Standardization_Status}} |
{{API_Name}} | {{API_Name}} | ||
| + | {{Summary_Section|Paragraph element (<p>) represents a paragraph.}} | ||
{{Markup_Element | {{Markup_Element | ||
|DOM_interface=dom/HTMLParagraphElement | |DOM_interface=dom/HTMLParagraphElement | ||
}} | }} | ||
| − | |||
{{Examples_Section | {{Examples_Section | ||
|Not_required=No | |Not_required=No | ||
| − | |Examples={{ | + | |Examples={{Single Example |
| + | |Language=HTML | ||
|Description=This example uses the '''P''' element to create a paragraph. | |Description=This example uses the '''P''' element to create a paragraph. | ||
| − | + | |Code=<p>This is a paragraph.</p> | |
| − | |Code= | + | }} |
| − | <p>This is a paragraph.</p> | + | }} |
| − | }}}} | + | |
{{Notes_Section | {{Notes_Section | ||
| − | |Notes= | + | |Notes====Remarks=== |
| − | ===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 [[html/elements/table|'''TABLE''']] element is encountered. For example, <code><p><table>..</table></p></code> is now parsed as <code><p>..</p><table>..</table></code>. For more information, see HTML Enhancements in Internet Explorer 8 and Defining Document Compatibility. | Windows Internet Explorer 8. In IE8 Standards mode, the '''P''' element is automatically closed when a [[html/elements/table|'''TABLE''']] element is encountered. For example, <code><p><table>..</table></p></code> is now parsed as <code><p>..</p><table>..</table></code>. For more information, see HTML Enhancements in Internet Explorer 8 and Defining Document Compatibility. | ||
| − | |Import_Notes= | + | |Import_Notes====Standards information=== |
| − | ===Standards information=== | + | |
*[http://go.microsoft.com/fwlink/p/?linkid{{=}}196991 Document Object Model (DOM) Level 2 HTML Specification], Section 1.6.5 | *[http://go.microsoft.com/fwlink/p/?linkid{{=}}196991 Document Object Model (DOM) Level 2 HTML Specification], Section 1.6.5 | ||
*[http://go.microsoft.com/fwlink/p/?linkid{{=}}25320 HTML 4.01 Specification], Section 9.3.1 | *[http://go.microsoft.com/fwlink/p/?linkid{{=}}25320 HTML 4.01 Specification], Section 9.3.1 | ||
| Line 764: | Line 765: | ||
|} | |} | ||
| − | |||
}} | }} | ||
| − | {{ | + | {{Related_Specifications_Section |
| − | | | + | |Specifications= |
}} | }} | ||
| + | {{Compatibility_Section | ||
| + | |Not_required=No | ||
| + | |Desktop_rows= | ||
| + | |Mobile_rows= | ||
| + | |Notes_rows= | ||
| + | }} | ||
| + | {{See_Also_Section}} | ||
| + | {{Topics|HTML}} | ||
{{External_Attribution | {{External_Attribution | ||
|Is_CC-BY-SA=No | |Is_CC-BY-SA=No | ||
|Sources=MSDN | |Sources=MSDN | ||
| − | |||
|MDN_link= | |MDN_link= | ||
| + | |MSDN_link=[http://msdn.microsoft.com/en-us/library/ie/hh828809%28v=vs.85%29.aspx Windows Internet Explorer API reference] | ||
|HTML5Rocks_link= | |HTML5Rocks_link= | ||
}} | }} | ||
Revision as of 21:17, 10 October 2012
p
This page has been flagged with the following issues:
High-level issues:
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
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
- HTML 4.01 Specification, Section 9.3.1
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]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here