X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET 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 »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

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


Definition and Usage

The cite attribute specifies the source URL of a quote.


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 BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook