Skip to main content

Blockquote

Overview

A blockquote is an element which represents a section of text that is typically referenced from another source. The blockquote element is indicated using a > followed by the content, subsequent lines can optionally include > or not. To separate the blockquote from other elements, a new line is needed at the end.

At present, it is possible to include a paragraph and lists within blockquotes.

Example Syntax

Paragraph within Blockquote

> This is a paragraph within a blockquote.
<blockquote>
<p>This is a paragraph within a blockquote.</p>
</blockquote>

Lists within Blockquote

> 1. This is a list item within a blockquote.
> 2. This is another list item within a blockquote.
<blockquote>
<ol>
<li>This is a list item within a blockquote.</li>
<li>This is another list item within a blockquote.</li>
</ol>
</blockquote>

Two Separate Blockquotes

> This is quote number 1

> This is quote number 2
<blockquote>
<p>This is quote number 1</p>
</blockquote>
<blockquote>
<p>This is quote number 2</p>
</blockquote>