English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Online Tools

Reference Manual

: <progress> tag

HTML q cite attribute

 HTML <q> tag

q cite attribute specifies the source URL of the citation.

Online Example

Example
<!DOCTYPE html>
<html>
<head> - <title>HTML: <q> cite attribute3codebox.com)</title>
</head>
<body>
<p>United Nations Children's Fund:
<q cite="http://www.un.org">
The United Nations Children's Fund is a major force in promoting a world in which children's rights are realized.
Our influence with global decision-makers and a wide range of partners at the grassroots level can turn some creative ideas into reality. This feature sets us apart from other world organizations and organizations working with children.
</p> 
</body>
</html>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

The cite attribute has no visual effect in a standard Web browser, but it can be used by screen readers.

Definition and Usage

The cite attribute specifies the source URL of the reference.

HTML 4.01 With HTML5Differences

None.

Syntax

<q cite="URL">

Attribute value

ValueDescription
URLSpecify the source URL of the quote.
Possible values:
Absolute URL-Point to another website (for example href = "http://www.example.com/page.htm"
Relative URL-Point to a file within a website (for example href = "page.htm")
 HTML <q> tag