HTML blockquote Tag

HTML <blockquote> Tag: The HTML blockquote tag describes how the section that is quoted from another source. HTML4.01 specifies a long quotation whereas the HTML5 specifies a section that is quoted from another source. It changes the alignment to make it unique from others. It contains both opening and closing tags.

HTML <blockquote> Tag

The HTML <blockquote> tag supports both the global and event attributes. This HTML <blockquote> tag is supported by all the browsers.

Attribute

It contains a single attribute cite which is used to specify the source of a quotation. The HTML <blockquote> tag supports both the global and event attributes.

Syntax: <blockquote>Text</blockquote>

NOTE: The HTML blockquote tag in HTML4.1 defines the long quotation i.e. quotations that span multiple lines. But in HTML5, the <blockquote> tag specify the section that is quoted from other source.

Example:

<!DOCTYPE html>
<html>
<body>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.
</blockquote>
</body>
</html>

Output:

About WWF

Here is a quote from WWF’s website:

For 50 years, WWF has been protecting the future of nature. The world’s leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.

Attributes supported by the <blockquote> tag

Attribute Value Description
cite URL Describes the source of the quotation