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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <dt> Tag

Der HTML-<dt>-Tag wird verwendet, um in der Beschreibungsliste eines HTML-Dokuments (dl-Tag) Begriffe zu definieren. Nach jedem <dt>-Tag im <dl>-Tag muss mindestens ein <dd>-Tag folgen, das den in dem <dt>-Tag gefundenen Begriff beschreibt. Der <dt>-Tag wird auch als <dt>-Element bezeichnet.

Online-Beispiel

Beschreibungsliste mit Elementen und Beschreibungen:

!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 Verwendung von dt-Tags (Basis-Tutorial-Netz oldtoolbag.com)</title>
</head>
<body>
<dl>
   <dt>Frühstück</dt>
   <dd>Das erste Mahl des Tages</dd>
   <dt>Mittagessen</dt>
   <dd>Eine Mahlzeit, die in der Mitte des Tages gegessen wird</dd>
</dl>
</body>
</html>
Testen Sie es heraus ‹/›

In diesem HTML5In dem Dokumentbeispiel haben wir einen enthaltenen2A list of individual words (breakfast and lunch) and their corresponding descriptions.

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the <dt> tag.

Tag definition and usage instructions

<dt> tag defines an item of a description list/Name.

<dt> tag with <dl> (Define a description list) and <dd> (Describe each item/Name) can be used together.

For each group in the description list (i.e., term/The description must include at least one <dt> tag followed by at least one <dd> tag. This means you can list:

  • A term followed by a single description

  • A single term followed by multiple descriptions

  • Multiple terms followed by a single description

  • Multiple terms followed by multiple descriptions

HTML 4Differences between1 HTML5and HTML

In HTML, the <dt> tag defines an entry of a definition list. 4Differences between1 .0

In HTML, the <dt> tag defines an entry of a definition list.5 In HTML, the <dt> tag defines an item of a description list/Name.

Global Attributes

The <dt> tag supports Global Attributes of HTML.

Event Attributes

The <dt> tag supports HTML Event Attributes.

Related Articles

HTML Tutorial:HTML List