HTML <blockquote> tag

The <blockquote> tag is used to define a class or section of text quoted from another source. It usually leaves margins on all sides by default. This element was used to represent the long quotations in HTML 4.01 and also continues in HTML5. The <blockquote> tag may include the optional cite attribute to specify its URL.

Type: Block Element

Syntax of <blockquote> tag

<blockquote cite="https://example.com">
Quoted Texts
</blockquote>

Default CSS properties of <blockquote> tag

blockquote
{
  display: block;
  margin-top: 1em;
  margin-right: 1em;
  margin-bottom: 40px;
  margin-left: 40px;
}

Supported Browsers

Tag Chrome Internet Explorer Firefox Safari Opera Mini
<blockquote> Yes Yes Yes Yes Yes

Full code example

<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<blockquote cite = "https://www.olympic.org/the-ioc">
The IOC is a not-for-profit independent international organization made up of volunteers. The IOC President presides over all its activities, while the IOC Session and Executive Board are responsible for taking the main decisions for the organization.
</blockquote>
</body>
</html>
Run The code »

Output on the browser

The IOC is a not-for-profit independent international organization made up of volunteers. The IOC President presides over all its activities, while the IOC Session and Executive Board are responsible for taking the main decisions for the organization.

Attribute

Attribute Value Note
cite URL It defines the text to be quoted from another server or source.

The <q> tag is used only for a short sentence or a block of texts within a sentence. To define quotes having multiple sentence, use <blockquote> tag