HTML <q> cite attribute

Definition and Usage

cite The attribute specifies the source URL of the reference.

Example

Specifies the source URL of the reference:

<p>The goal of the World Wide Fund for Nature is:
<q cite="http://www.wwf.org">Building a future where people live in harmony with nature.</q>
We hope they succeed.</p>

Try it yourself

Syntax

<q cite="URL">

Attribute Value

Value Description
URL

Specifies the source URL of the reference.

Possible values:

  • Absolute URL - points to another website (e.g., href="http://www.example.com/page.htm")
  • Relative URL - points to a file within the website (e.g., href="page.htm")

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support

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