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

HTML Reference Manual

HTML Tag大全

HTML: <cite> Tag

The HTML <cite> tag defines the title of creative works such as movies, books, literature, sculptures, paintings, or drawings. Traditionally, browsers will display the text found within the <cite> tag in italic text. This tag is also commonly referred to as the <cite> element.

The HTML <cite> tag represents a citation of a work. It must contain a title or URL of the cited work in a simplified abbreviation format. It may also be a shorthand form according to an agreement for adding citation metadata.

Online Example

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

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Basic Tutorial Website(oldtoolbag.com)>/title> 
</head>
<body>
<h1>Heading 1</h1>
<p><cite>War and Peace/cite> was one of the greatest books./p>
<p>My favorite movie is called <cite>Iron Man/cite>.</p>
</body>
</html>
Test to see «/›

In this HTML5In the document example, we created a <cite> tag that references the movie Iron Man andWar and Peaceis one of the greatest works.

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the <cite> tag.

Definition and Usage of Tags

The HTML <cite> element is located within the <body> tag.

The <cite> tag should include the title of the creative work, not the author.

The <cite> tag defines the title of a work (such as books, songs, movies, TV shows, paintings, sculptures, etc.).

Traditionally, browsers will render the text found in the <cite> tag as italic text. You can use the font-The style attribute uses CSS to change this behavior.

Note:Names of people do not belong to the title of the work.

HTML 4.01 and HTML5Differences between

In HTML5 In HTML, the <cite> tag defines the title of a work.

In HTML 4.01 In HTML, the <cite> tag defines a reference.

Global Attributes

Support for <cite> tag Global Attributes of HTML.

Event Attributes

Support for <cite> tag HTML Event Attributes.