Il tag HTML <dialog>


Descrizione

Il tag HTML <dialog> viene utilizzato per definire una finestra di dialogo.

<!Doctype html>
<html>
<head>
<title>HTML dialog Tag</title>
</head>
<body>
<dialog open>this will be shown in a dialog</dialog>
</body>
</html>

Produrrà il seguente risultato:

this will be shown in a dialog

Attributi Globali

Questo tag supporta tutti gli attributi globali descritti in - HTML - Referenze Attributi

Attributi Specifici

The HTML <dialog> supporta anche i seguenti attributi aggiuntivi:

Attribute Value Descrizione
open HTML-5 open Apre una finestra di dialogo in cui l' utente può interagire.

Attributi Evento

Questo tag supporta tutti gli attributi evento descritti in - HTML - Referenze Eventi

Compatibilità Browser

ChromeFirefoxIEOperaSafariAndroid
Si (Canary)NoNoNo6.0No
html_tags_reference.htm
Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements