cite: The Citation element
The cite
HTML element is used to mark up the title of a cited creative work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.
To include a reference to the source of quoted material which is contained within a blockquote
or q
element, use the cite attribute on the element.
Typically, browsers style the contents of a cite
element in italics by default.
Attributes
No specific attribute
Global attributes
role
="[semantic-role]"
accesskey
="[key]"
class
="[classname]"
dir
="[auto/ltr/rtl]"
id
="[identifier]"
itemid
="[global-identifier]"
itemprop
="[property-name]"
itemscope
itemtype
="[url of the vocabulary]"
lang
="[language-code]"
tabindex
="[num index]"
title
="[Title]"
Example
<blockquote cite="https://www.w3.org/standards/webdesign/accessibility">
<p>The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect</p>
Tim Berners Lee, <cite>W3C about Accessibility</cite>
</blockquote>