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">Build 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 a 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 ordinary web browsers, but it can be used by screen readers.