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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <cite> Tag

Das HTML-<cite>-Tag definiert Titel kreativer Werke wie Filme, Bücher, Literatur, Skulpturen, Gemälde oder Zeichnungen. Traditionell wird der Text, der im <cite>-Tag gefunden wird, als kursiver Text dargestellt. Dieses Tag wird auch oft als <cite>-Element bezeichnet.

Das HTML-Zitat-(Zitat)-Tag (<cite>) stellt eine Referenz zu einem Werk dar. Es muss den Titel des zitierten Werks in einer einfachen Schreibweise oder eine URL enthalten, die möglicherweise eine Abkürzung gemäß einer Vereinbarung über die hinzugefügten Referenzmetadaten ist.

Online-Beispiel

Verwenden Sie das <cite>-Tag, um den Titel eines Werks zu definieren:

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Grundlagen-Tutorial-Website(oldtoolbag.com)>/title> 
</head>
<body>
<h1>Überschrift 1</h1>
<p><cite>Krieg und Frieden</cite> war eines der großartigsten Bücher.</p>
<p>Mein Lieblingsfilm heißt <cite>Iron Man</cite>.</p>
</body>
</html>
Testen Sie es heraus ‹/›

In this HTML5In the document example, we created a <cite> tag that references the movie named 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 present 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 the <cite> tag defines the title of a work.

In HTML 4.01 In this context, the <cite> tag defines a citation.

Global Attributes

Support for <cite> Tag Global Attributes of HTML.

Event Attributes

Support for <cite> Tag HTML Event Attributes.