HTML <cite> Tag

Definition and usage

<cite> The tag defines the title of creative works (such as books, poetry, songs, movies, paintings, sculptures, etc.).

Note:Names are not the titles of works.

In <cite> The text within the element is usually presented in italics.

Detailed description

<cite> The tag usually indicates a reference to a bibliographic reference, such as the title of a book or a magazine.

By convention, the cited text will be displayed in italics.

Using <cite> The tag separates citations to other documents, especially those in traditional media such as books, magazines, journals, and so on. If there is an online version of the cited documents, the citation should also be included in a <a> In the tag, thus pointing to the online version of the link.

<cite> Tags also have a hidden feature: they can automatically extract bibliographies from documents for you or others. We can easily imagine a browser that can automatically organize reference tables and display them as footnotes or as separate documents.<cite> The semantics of the tag have far exceeded the role of changing the appearance of the text it contains; it enables browsers to express the content of the document to users in various practical ways.

See also:

HTML DOM Reference Manual:Cite Object

Example

Use the <cite> tag to define the title of a work:

<p><cite>The Iris</cite>, painted by Claude Monet around 1914 – 1917.

Try It Yourself

Global Attributes

<cite> The tag also supports Global Attributes in HTML.

Event Attributes

<cite> The tag also supports Event Attributes in HTML.

Default CSS Settings

Most browsers will display the following default values <cite> Element:

cite {
  font-style: italic;
}

Try It Yourself

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support