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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <em> Tag

Der HTML-<em>-Marken markiert Text, der betont werden soll, was in der Regel bedeutet, dass der Text im Browser kursiv angezeigt wird. Dieser Marken wird auch als <em>-Element bezeichnet.

Online-Beispiel

Text im Dokument formatieren:

!doctype html
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 Verwendung von <dt>-Tag (Grundlagen-Tutorial-Netz oldtoolbag.com)</title>
</head>
<body>
<h1>Überschrift 1</h1>
<p>Wir möchten betonen, <em>diesen Text</em> hervorheben./em></p>
</body>
</html>
Testen Sie heraus, ob ‹/›
In diesem HTML5In der Dokumentbeispiel haben wir einen <em>-Marken erstellt, der den Text "this text" umschließt. Standardmäßig zeigt Ihr Browser "this text" als kursiven Text an. Sie können dieses Verhalten mit CSS überschreiben.

Browserkompatibilität

IEFirefoxOperaChromeSafari

Alle gängigen Browser unterstützen den <em>-Tag.

Tag definition and usage instructions

The <em> tag is a phrase tag used to present text as emphasized.

Tip: We are not against using this tag, but if you use it only for visual effects, we recommend using CSS, which may achieve more rich effects.

All phrase tags:

TagDescription
<em>Presented as emphasized text.
<strong>Define important text.
<dfn>Define a definition item.
<code>Define computer code text.
<samp>Define sample text.
<kbd>Define keyboard text. It indicates that the text was typed on a keyboard. It is often used in documents or manuals related to computers.
<var>Define variables. You can use this tag in conjunction with <pre> and <code> tags.
The <em> tag is used to separate text from the rest of the content. By default, browsers display the text within the <em> tag in italic. You can use CSS to change this behavior.

Global Attributes

Support for <em> Tag Global Attributes of HTML.

Event Attributes

Support for <em> Tag HTML Event Attributes.

Related Articles

HTML Tutorial:HTML Text Formatting