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

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML: <dialog> Tag

HTML <dialog>-Element stellt ein Dialogfenster oder einen interaktiven Komponente dar, z.B. ein Inspektor oder ein Fenster.

Online-Beispiel

Verwendung des <dialog>-Elements:

!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 dialog-Tags-Nutzung (Grundlagen-Tutorial-Webseite oldtoolbag.com)</<title>
</<head>
<body>
<p><b>Attention:</b>Currently only Chrome and Safari 6 Supports dialog tag.</p>
<dialog open><p>Greetings, one and all!/p></dialog>
</body>
</html>
Test see ‹/›

Browser Compatibility

<dialog> Tag has basic support for the following browsers.

IEFirefoxOperaChromeSafari

Definition and Usage of Tag

<dialog> Tag defines a dialog, confirmation box, or window.

HTML 4.01 and HTML5Differences between

<dialog> Tag is HTML5 New tag in.

Attribute

New : HTML5 New attribute in.

AttributeValueDescription
openHTML5openSpecifies that the dialog element is valid and the user can interact with it.

Global Attributes

Support for <dialog> Tag Global Attributes of HTML.

Event Attributes

Support for <dialog> Tag HTML Event Attributes.