HTML <blockquote> tag
The <blockquote> tag is used for displaying long quotations. The browser will automatically create space before and after a blockquote element as well as margin on the left and right side of the text within the blockquote element.
Attributes
| Attribute | Possible values | Description |
|---|---|---|
| cite | URL | The URL the quote is taken from |
NOTE: The cite attribute doesn't function corectly in any of the major browsers.
Standard attributes
class, dir, id, lang, style, title, xml:lang
For more information on standard attributes, check out our HTML standard attributes reference page.
Event attributes
onclick, ondblclick, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onkeydown, onkeypress, onkeyup
For more information on event attributes, check out our HTML event attributes reference page.
Example
"Just as treasures are uncovered from the earth, so virtue appears from good deeds, and wisdom appears from a pure and peaceful mind. To walk safely through the maze of human life, one needs the light of wisdom and the guidance of virtue"
Tips & notes
Use the <blockquote> tag for long quotations and the <q> tag for short quotations.
Remember to always put quote marks around quotes!