W3Schools.com

HTML5 <q> cite Attribute

HTML5 q Tag Reference HTML5 <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 is not supported in any of the major browsers.


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")


HTML5 q Tag Reference HTML5 <q> tag
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE