From Web Education Community Group
< HTML‎ | Elements
Revision as of 17:37, 18 November 2011 by Rworth (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The <p> element represents a paragraph.


  • The p element should not be used when a more specific element is more appropriate. [Example B]

HTML Attributes

See global attributes.


Example A

[try it]

<p>The quick brown fox jumps over the lazy dog.</p>


Example B

The following example is technically correct

  <p>Last modified: 2001-04-23</p>

However, it would be better marked-up as:

  <footer>Last modified: 2001-04-23</footer>


    <p>Last modified: 2001-04-23</p>

HTML Reference

The HTML5 specification defines the <p> element in 4.5.1 The p element.