totn HTML

HTML: <blockquote> tag

This HTML tutorial explains how to use the HTML element called the <blockquote> tag with syntax and examples.

Description

The HTML <blockquote> tag defines a long block quotation in the HTML document from another source. Browsers traditionally render the text found within the <blockquote> tag as indented text. This tag is also commonly referred to as the <blockquote> element.

Syntax

In HTML, the syntax for the <blockquote> tag is:

<body>
<blockquote>Your trusted resource for learning new technologies. We've been providing tutorials, references, and step-by-step instructions since 2003. TechOnTheNet.com is a great place to learn a new technology, or find a quick reference. It has never been easier to learn Database technologies, Microsoft Office products, and more!!</blockquote>
</body>

Sample Output


Attributes

In addition to the Global Attributes, the following is a list of attributes that are specific to the <blockquote> tag:

Attribute Description HTML Compatibility
cite URL for the source document or a message for the quotation explaining the reference for the quote. HTML 4.01, HTML5

Note

  • The HTML <blockquote> element is found within the <body> tag.
  • For a short inline quotation, use the <q> tag.
  • Most browsers will render the text within the <blockquote> tag as indented text but you can change this behavior with CSS.

Browser Compatibility

The <blockquote> tag has basic support with the following browsers:

  • Chrome
  • Android
  • Firefox (Gecko)
  • Firefox Mobile (Gecko)
  • Internet Explorer (IE)
  • Edge Mobile
  • Opera
  • Opera Mobile
  • Safari (WebKit)
  • Safari Mobile

Example

We will discuss the <blockquote> tag below, exploring examples of how to use the <blockquote> tag in HTML5, HTML 4.01 Transitional, XHTML 1.0 Transitional, XHTML 1.0 Strict, and XHTML 1.1.