On this page
<p>
Prev: `<h1>` | Up: text | Next: `<a>`
Rel: text, Text & Lists Guide
Ref: MDN Web Docs — <p>
Tags: #public #web #html #elements #text #tier/core
Summary
Paragraph of text.
- Implicit ARIA Role:
paragraph - DOM Interface:
HTMLParagraphElement - Key Attributes:
—
Notes & Best Practices
- Paragraph of phrasing content: Cannot legally contain block elements like
<div>,<ul>, or<section>(browsers auto-close<p>).
Example
<p>First paragraph of content.</p>
<p>Second paragraph separated semantically.</p>
Linked from
Related notes
- tuts/html/elements/text/a Linked here; links to this page; shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/h1 Linked here; links to this page; shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text Linked here; links to this page; shared tags: #elements, #html, #text, #web
- tuts/html/elements/text_and_lists Linked here; shared tags: #elements, #html, #web
- tuts/html/elements/text/center shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/code shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/div shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/dl shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/font shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/ol shared tags: #elements, #html, #text, #tier, #web