X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook