HTML Tag Reference - HTML tag <blockquote>








<blockquote> marks the text to be indented. <blockquote> is used for displaying long quotations.

<q> is used for shorter inline quotations.

Browser compatibility

<blockquote> Yes Yes Yes Yes Yes

What's new in HTML5

None.

Attribute

cite
Set the source URL of the quotation

Global Attributes

The <blockquote> tag supports the Global Attributes in HTML.

Event Attributes

The <blockquote> tag supports the Event Attributes in HTML.





Default CSS Settings

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

Example

A demo showing how to use blockquote tag.

<html>
<body>
     <p>The blockquote content is indented.</p>
     <blockquote cite="http://www.java2s.com">HTML CSS</blockquote>
</body>
</html>

Click to view the demo