Student-friendly HTML, CSS, and JavaScript reference with examples
The <p> element represents a paragraph of text. It’s one of the most common HTML elements.
<p>This is a paragraph. It can contain multiple sentences and will automatically have spacing above and below it.</p>
<p>This is another paragraph. Browsers add space between paragraphs automatically.</p>
Paragraphs are block-level elements, meaning they start on a new line and take up the full width available.