HTML <blockquote> tag

Use of <blockquote> tag

The <blockquote> tag is used to define a class or section of texts covered from another sources. It leave some margins on all sides. This element was used to define the long quotation in HTML4.01 but it has changed in HTML5. Inorder to define, <blockquote> tag, you must give cite attribute with its URL.
Type: Block Element

Example of <blockquote> tag

<blockquote cite = "https://www.someone.com/page.html"> 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 browser Internet explorer browser Firefox browser Safari browser Opera browser
<blockquote> Yes Yes Yes Yes Yes

Full Code Example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<blockquote cite = "https://www.olympic.org/the-ioc">
<p>
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.
</p>
</blockquote>
</body>
</html>

Output

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 Value

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