Guide/e/blockquote

From HTML WG Wiki
Jump to: navigation, search

The blockquote element

Element Summary

Sectioning block-level element, and structured inline-level element.

The blockquote element represents a section that is quoted from another source.

Content inside a blockquote must be quoted from another source, whose URI, if it has one, should be cited in the cite attribute.

If the cite attribute is present, it must be a URI (or IRI). User agents should allow users to follow such citation links.

If a blockquote element is preceded or followed by a p element that contains a single cite element and is itself not preceeded or followed by another blockquote element and does not itself have a q element descendant, then, the citation given by that cite element gives the source of the quotation contained in the blockquote element.

Each blockquote element potentially has a heading. See the section on headings and sections for further details.

The cite DOM attribute reflects the element's cite content attribute.

Best Practices

Explain any best practices here. Use examples to illustrate where appropriate.

Internationalisation Techniques

Describe any techniques authors should use to help with internationalisation.

Accessibility Techniques

Describe any special techniques that authors should use to ensure accessibility.

Examples

<html ... >
  <head>
    ...
  </head>
  <body>
    <h1>Document</h1>
    <blockquote cite="http://www.w3.org/wai/">
      <p>The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.</p>
      <p> -- Tim Berners-Lee, W3C Director and inventor of the World Wide Web</p>
    </blockquote>
  </body>
</html>

See Also

Guidelines