What Is The HTML <cite> Tag?

What Is The HTML Cite Tag

Date First Published: 11th June 2023

Topic: Web Design & Development

Subtopic: Web Development

Article Type: Computer Terms & Definitions

Difficulty: Medium

Difficulty Level: 6/10

Learn more about what the HTML <cite> tag is in this article.

In HTML, the <cite> tag is used to provide a reference or title to a piece of work, like books, paintings, poems, songs, films, etc. It is used to reference the name of the work rather than the author. By default, content within the opening and closing tags are rendered in italic and the rules can be changed using CSS. The <cite> tag is a rarely used tag with little presentational value and is only used to add semantic information to HTML documents. This tag is supported by all major web browsers.

Example Of The <cite> Tag

An example of the <cite> tag can be seen below.

<p>"Fair is foul, and foul is fair"</p> <p><cite><a href="https://en.wikipedia.org/wiki/Macbeth">Macbeth</a></cite></p>

"Fair is foul, and foul is fair"

Macbeth

Attributes

The <cite> tag has no attributes, but it does support global attributes which are standard across all HTML tags.


Feedback

  • Is there anything that you disagree with on this page?
  • Are there any spelling, grammatical, or punctuation errors on this page?
  • Are there any broken links or design errors on this page?

If so, it is important that you tell me as soon as possible on this page.


Comments