Visit Mozilla.org

HTML:Element:blockquote

From MDC

[edit] Summary

Block quotation element indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes how to change it). The source of the quotation may also be stated using the HTML Citation Element.

[edit] Attributes

cite
The value of this attribute is 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.

[edit] 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.

[edit] Notes

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

For short quotes use <q> element.

[edit] See also


HTML Elements
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
(Quick Links: HTML Element Cross Reference, HTML Category)