Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

HTML <q> cite Attribute

❮ HTML <q> tag


Specify the source URL of a quote:

<p>WWF's goal is to:
<q cite="http://www.wwf.org">
Build a future where people live in harmony with nature.</q>
We hope they succeed.</p>
Try it Yourself »

Definition and Usage

The cite attribute specifies the source URL of a quote.

Browser Support

cite Yes Yes Yes Yes Yes

Note: The cite attribute has no visual effect in ordinary web browsers, but can be used by screen readers.


<q cite="URL">

Attribute Values

Value Description
URL Specifies the source URL of the quote.

Possible values:

  • An absolute URL - points to another web site (like href="http://www.example.com/page.htm")
  • A relative URL - points to a file within a web site (like href="page.htm")

❮ HTML <q> tag