Advertisement
❮ Previous: <caption> Next: <code> ❯

<cite>

HTML <cite> (Citation) Tag

Example

<p>This example is taken from <cite> Wikipedia</cite>.</p>

Try this code ❯

Meaning

The <cite> element indicates a citation from a book or other published source and usually is rendered in italics by a browser.

The W3C specification says that a reference to a creative work, as included within a <cite> element, may include the name of the work's author.

However, the WHATWG specification for <cite> says the opposite: that a person's name must never be included, under any circumstances.

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.

Version: HTML 2, 3.2, 4, 4.01, 5


Standard Syntax

<cite>Citation</cite>


Advertisement

Global Attributes

<cite> element also supports the Global Attributes in HTML.


Event Attributes

<cite> element also supports the Event Attributes in HTML.


By Default CSS Value(s)

Most of the browsers will display the element with the following by default value(s)

cite {
  font-style: italic;
}

Related Tags:

<a>,
<abbr>,
<b>,
<bdi>,
<bdo>,
<br>,
<code>,
<data>,
<dfn>,
<em>,
<i>,
<kbd>,
<mark>,
<q>,
<rp>,
<rt>,
<ruby>,
<s>,
<samp>,
<small>,
<span>,
<strong>,
<sub>,
<sup>,
<time>,
<u>,
<var> and
<wbr>

❮ Previous: <caption> Next: <code> ❯
Advertisement