THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <q> cite Attribute

HTML q Tag Reference HTML <q> tag

Example

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

Attribute
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.


Differences Between HTML 4.01 and HTML5

NONE.


Syntax

<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 Reference HTML <q> tag

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: