Difference between revisions of "HTML/Elements/blockquote"

From W3C Wiki
< HTML‎ | Elements
Jump to: navigation, search
(HTML Reference)
m (HTML Reference: Fixed the blockquote section to correctly link to the appropriate HTML5 spec, instead of the HTML root element page)
Line 58: Line 58:
 
== HTML Reference ==
 
== HTML Reference ==
  
The HTML5 specification defines the &lt;blockquote&gt; element in [http://www.w3.org/TR/html5/semantics.html#the-blockquote-element 4.5.4 The blockquote element].
+
The HTML5 specification defines the &lt;blockquote&gt; element in [http://www.w3.org/TR/html5/grouping-content.html#the-blockquote-element 4.5.4 The blockquote element].
  
  
 
[[Category:HTML]]
 
[[Category:HTML]]
 
[[Category:HTMLElement]]
 
[[Category:HTMLElement]]

Revision as of 21:13, 12 October 2013

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