- Blockquote
In
HTML andXHTML , the blockquote element defines a block quotation within the text. The syntax is<blockquote>blockquoted text goes here</blockquote>
.The
blockquote
element is used to indicate the quotation of a large section of text from another source. Using the default HTML styling of most web browsers, it will indent the right and left margins both on the display and in printed form.The non-semantic use of the
blockquote
element purely to indent text is deprecated by the W3C (World Wide Web Consortium ) in the current (1999) HTML 4.01 Specification [ [http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE HTML definition of ‘blockquote’] ] , which is also the basis for XHTML 1.0. The preferred approach is the use of CSS (Cascading Style Sheets ).Usage
Related (X)
HTML element s include the<q>
and<cite>
elements for shorter, probably in-line, quotations and for citations respectively. An (X)HTML attribute specific to the<blockquote>
and<q>
elements iscite=
where the provenance of the material quoted may be given. If the quotation is in a language other than that of the main document,lang=
and maybedir=
attributes may be relevant to specify the language of the quoted text and perhaps its direction, left-to-right or right-to-left.Relationship to some wiki markup and usage
It should be noted that in many
Wiki markup languages, the semantics and effect of HTML<blockquote>
is different from the use of an initial colon in a paragraph, which may be translated into an HTMLdd
element enclosed within adl
element. (That is a ‘data definition’ within a ‘definition list’, without there being any preceding ‘data term’ ordt
element).References
External links
* [http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 W3C]
Wikimedia Foundation. 2010.