HTML Tags

HTML <blockquote> Tag

Topic: HTML5 Tags ReferencePrev|Next

Description

The <blockquote> tag indicates that the enclosed text is an extended quotation.

Usually, blockquotes are rendered visually by indentation. A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

The following table summarizes the usages context and the version history of this tag.

Placement: Block
Content: Block, inline, and text
Start/End Tag: Start tag: required, End tag: required
Version: HTML 2, 3.2, 4, 4.01, 5

Note: XHTML allows the <blockquote> element to contain only other block-level elements (i.e. not an inline-level element).


Syntax

The basic syntax of the <blockquote> tag is given with:

HTML / XHTML: <blockquote cite="URL"> ... </blockquote>

The example below shows the <blockquote> tag in action.

<blockquote>
    <p>This is an example of a long quotation.</p>
</blockquote>

Tip: The <blockquote> tag is for long quotations (block-level content). For short quotations (inline-level content), use <q> tag that don't require paragraph breaks.


Tag-Specific Attributes

The following table shows the attributes that are specific to the <blockquote> tag.

Attribute Value Description
cite URL Specifies the source of a quotation.

Global Attributes

Like all other HTML tags, the <blockquote> tag supports the global attributes in HTML5.


Event Attributes

The <blockquote> tag also supports the event attributes in HTML5.


Browser Compatibility

The <blockquote> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox 1+
  • Google Chrome 1+
  • Internet Explorer 2+
  • Apple Safari 1+
  • Opera 2.1+

Further Reading

See tutorial on: HTML Text Formatting.

Related tags: <cite>, <q>.

Bootstrap UI Design Templates Property Marvels - A Leading Real Estate Portal for Premium Properties