mozilla
Your Search Results

    <blockquote> Redirect 1

    There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

    Summary

    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.

    Attributes

    This element includes the global attributes.

    cite
    A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.

    Example

    <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.

    Specifications

    Specification Status Comment
    WHATWG HTML Living Standard Living Standard  
    HTML5 Candidate Recommendation  
    HTML 4.01 Specification Recommendation  

    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.

    {{ HTMLRef }}

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,