ExampleA long quotation is marked up as follows: | Browser Support |
1. Definition and Usage
The <blockquote> tag defines a long quotation.
Browsers usually indent <blockquote> elements.
2. Tips and Notes
Tip: Use <q> for short quotations.
3. Differences Between HTML 4.01 and HTML5
In HTML 4.01, the <blockquote> tag defines a long quotation.
In HTML5, the <blockquote> tag specifies a section that is quoted from another source.
4. Differences Between HTML and XHTML
Note: To validate a <blockquote> element as strict HTML/XHTML, it must contain only other block-level elements, like this:
<blockquote>
<p>Here is a
long quotation here is a long quotation</p>
</blockquote>
5. Optional Attributes
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
Attribute | Value | Description | DTD |
---|---|---|---|
cite | URL | Specifies the source of a quotation | STF |
6. Standard Attributes
The <blockquote> tag supports the Standard Attributes in HTML.
7. Event Attributes
The <blockquote> tag also supports the Standard Event Attributes in HTML.