HTML Paragraphs

Creating Paragraphs

Use the <p> tag to create paragraphs of text. Browsers automatically add some space before and after each paragraph.

Paragraph Attributes

Paragraphs can have attributes like class, id, and style for identification and styling.

Examples

<p>This is a paragraph.</p>
+<p class="lead">This is a paragraph with a class attribute.</p>