Paragraph
A block of text containing one or more sentences.
Basic Usage
Paragraphs give structure to large or text-heavy documents by breaking the content into more digestible pieces.
To create one, add the class paragraph
to an element (typically a p
element).
This is a paragraph.
This is a second paragraph. Notice how all paragraphs get their own line.
You can nest other types of elements, like highlighted text, inside paragraphs. However, you should avoid nesting paragraphs within other paragraphs.
<p class="paragraph">This is a paragraph.</p>
<p class="paragraph">
This is a second paragraph. Notice how all paragraphs get
their own line.
</p>
<p class="paragraph">
You can nest other types of elements, like
<mark class="highlight">highlighted text</mark>, inside
paragraphs. However, you should avoid nesting paragraphs
within other paragraphs.
</p>