English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML <blockquote> tag defines a long block quote from another source in an HTML document. Traditionally, browsers will present the text found within the <blockquote> tag as indented text. This tag is also commonly referred to as the <blockquote> element.
Define a block quote from another source:
!doctype html> <html> <head> <meta charset="UTF-8"> <title>HTML5 blockquote by www.oldtoolbag.com</title> </head> <body> <h1>Heading 1</h1> <p>This will appear in the title1the content below.</p> <blockquote>This is a quote</blockquote> <blockquote cite="https://www.oldtoolbag.com">This is a reference using the cite attribute</blockquote> </body> </htmlTest to see ‹/›
IEFirefoxOperaChromeSafari
All mainstream browsers support the <blockquote> tag.
The <blockquote> tag defines a block quote from another source.
Browsers usually indent the <blockquote> element.
HTML The <blockquote> element is located within the <body> tag.
For short inline quotes, please use<q>tag.
Most browsers will indent the text within the <blockquote> tag, but you can use CSS to change this behavior.
In HTML 4.01 In HTML, the <blockquote> tag defines a long quote.
In HTML5 In HTML, the <blockquote> tag defines a block quote from another source.
Note:If you want to validate the page as XHTML, then the <blockquote> element must contain block-level elements, such as:
<blockquote> <p>This is a long quote, this is a long quote. Your trusted resource for learning new technologies (oldtoolbag.com)</p> </blockquote>
Attribute | Value | Description |
---|---|---|
cite | URL | Specify the source of the reference. |
The <blockquote> tag supports HTML Global Attributes.
The <blockquote> tag supports HTML Event Attributes.