HTML <blockquote> Tag

The <blockquote> tag is used to define long quotes inside the document. Browsers usually indent <blockquote> elements.

Syntax

The <blockquote> element comes in pairs. The content must be written between opening (<blockquote>) and closing (</blockquote>) elements.

The <blockquote> is a block-level element and can include tags for text formatting.

Note: For short quotes in a document, we use the <q> tag.

Attributes

The attribute cite is used for specifying the source of the quote. The value can be either a relative or an absolute URL.

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Title of the document</title>
  </head>
  <body>
    A quote from the Cheshire Cat, in the popular children's book, Alice In Wonderland, written by Lewis Carroll
    <blockquote cite="https://en.wikipedia.org/wiki/Alice%27s_Adventures_in_Wonderland">
      I'm not crazy, my reality is just different than yours. 
    </blockquote>
  </body>
</html>

The <blockquote> also supports the Global Attributes.