asp.net.ph

Skip Navigation Links

BLOCKQUOTE Element | BLOCKQUOTE Object

Language References


Represents a section quoted from another source.HTML 2, 3.2, 4, 4.01, 5

HTML Syntax

Remarks

The BLOCKQUOTE element is normally used for quoting portions of content, to indicate a section that is quoted from another source.

Browsers generally render content within <blockquote> tags as an indented block that starts on a new line. Most browsers add extra space before a <blockquote>.

A URL for the source of the quotation may be given using the cite attribute, although this citation link is primarily intended for private use by server-side scripts collecting statistics about a site’s use of quotations, not for readers.

The cite sttribute does not render with the quoted content, but authors may allow users to follow a text representation of the source using the CITE element.

Attribution for the quotation, though, must be placed outside the <blockquote> element.

While some authors use <blockquote> merely as a mechanism to indent text, this usage has been deprecated in favor of style sheets.

<blockquote> is meant for quoting block-level content. To quote inline content with no paragraph breaks, use Q element.

NOTE: Both start and end tags are required.

Attributes

The <blockquote> element supports the following attributes, in addition to global attributes common to all HTML elements.

AttributeValueDescription
citeURLSpecifies the source of the quotation

Example

<p>This is a paragraph.</p>
<blockquote>And this is a blockquote.</blockquote>
This is a paragraph.
And this is a blockquote.

Here, a <blockquote> element is used in conjunction with a cite attribute as well as a representation of the citation using a <cite> element.

<div>
   <blockquote cite="http://somewhere.com">
      Four score and seven years ago our fathers brought forth, upon this continent,<br>
      a new nation, conceived in Liberty, and dedicated to the proposition<br>
      that all men are created equal.
   </blockquote>
   ~ Abraham Lincoln, <cite>The Gettysburg Address</cite>
</div>
Four score and seven years ago our fathers brought forth, upon this continent,
a new nation, conceived in Liberty, and dedicated to the proposition
that all men are created equal.
~ Abraham Lincoln, The Gettysburg Address
See Also

Q



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note