HTML <blockquote> cite Attribute

The cite attribute on a <blockquote> tag assigns a reference or citation to the quote. The citation is not visible, but can be accessed by JavaScript, screen readers, etc..

Example

#

A cite attribute on a <blockquote> tag.
This quote contains a URL to the source, but the URL is not visible.

E-commerce (electronic commerce) is the activity of buying and selling products and services over the Internet.
<blockquote cite="https://en.wikipedia.org/wiki/E-commerce"
            style="padding: 10px; background: #f6f8ff; 
                   border-left: 2px solid steelblue;">
  E-commerce (electronic commerce) is the activity 
  of buying and selling products and services 
  over the Internet.
</blockquote>

Using cite

The cite attribute specifies a URL to a reference or citation.

The URL is not visible, but is readable by screen readers, search engines, JavaScript code, and others.

The cite attribute accepts these URLs:

  • absolute URL - links to another website or domain (e.g. https://wikipedia.com)
  • relative URL - links to another page under the same domain

Tip: When available, include the source of the quotation.


Syntax

<blockquote cite="URL">

Values

#

Value Description
URL URL or path to a document that explains the quotation.

Browser support

Here is when cite support started for each browser:

Chrome
1.0 Sep 2008
Firefox
1.0 Sep 2002
IE/Edge
1.0 Aug 1995
Opera
1.0 Jan 2006
Safari
1.0 Jan 2003

You may also like

 Back to <blockquote>
Guides