HTML/Elements/blockquote

From W3C Wiki
< HTML‎ | Elements
Revision as of 14:52, 22 July 2011 by Plehegar (Talk | contribs)

Jump to: navigation, search

<blockquote>

The <blockquote> element represents a quoted section.

Point

  • Content inside a blockquote element must be quoted from another source. If it has address, a cite attribute should present.


HTML Attributes

  • cite = valid URL potentially surrounded by spaces
    Specifies the address in the quotation source. [Example B]


See also global attributes.


Examples

Example A

[try it]

<blockquote>
  <p>The quote is input here. </p>
</blockquote>

Example B

With the cite attribute [try it]:

<blockquote cite="http://www.quote.com/sample.html">
  <p>The quote is input here. </p>
</blockquote>

Blockquote02.png

HTML Reference

The HTML5 specification defines the <blockquote> element in 4.5.4 The blockquote element.