Dofactory.com
Dofactory.com
Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

HTML <blockquote> cite Attribute

The cite attribute on a <blockquote> tag sets a reference or citation to the quote.

The cite value has no visual effect but is readable by JavaScript, screen readers, search engines, and more.

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.

cite 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>

Last updated on Sep 30, 2023

Earn income with your HTML skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

Guides