From http://www.w3schools.com (Copyright Refsnes Data)
ExampleA long quotation is marked up as follows:
|
The <blockquote> tag defines a long quotation.
A browser inserts white space before and after a blockquote element. It also insert margins for the blockquote element.
The <blockquote> tag is supported in all major browsers.
Note: None of the major browsers display the cite attribute correctly.
To validate a blockquote element as strict HTML, the element must contain only other block-level elements, like this:
<blockquote>
<p>Here is a
long quotation here is a long quotation</p>
</blockquote>
Tip: Use the q element to mark up short quotations!
DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
Attribute | Value | Description | DTD |
---|---|---|---|
cite | URL | URL of the quote, if it is taken from the web | STF |
id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard Attributes.
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
From http://www.w3schools.com (Copyright Refsnes Data)