HTML - <blockquote>

The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

Example

 

HTML
<blockquote cite="http://developer.mozilla.org">
  <p>This is a quotation taken from the Mozilla Developer Center.</p>
</blockquote>

Above HTML code will output:

This is a quotation taken from the Mozilla Developer Center.

Description  

The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

Content categories Flow content, sectioning root, palpable content.
Permitted content Flow content.
Tag omission None, both the starting and ending tag are mandatory.
Permitted parent elements Any element that accepts flow content.
DOM interface HTMLQuoteElement

Browser Compatibility  

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) 1.0 (1.7 or earlier) (Yes) (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) 1.0 (1.0) (Yes) (Yes) (Yes)

Notes  

To change <blockquote> indent, use CSS margin property.

For short quotes use <q> element.

See Also  

  • The <q>  element for inline quotations.
  • The <cite> element for source citations.

Specifications  

Specification Status Comment
WHATWG HTML Living Standard
The definition of '<blockquote>' in that specification.
Living Standard  
HTML5
The definition of '<blockquote>' in that specification.
Recommendation  
HTML 4.01 Specification
The definition of '<blockquote>' in that specification.
Recommendation  

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/html/element/blockquote

Element HTML HTML:Flow content Reference Web