Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

Use

element:

<

table

border

=

"

1

"

<

tr

<

th

January

<

dialog

open

This is an open dialog window

dialog

th

<

th

February

th

<

th

March

th

tr

<

tr

<

td

31

td

<

td

28

td

<

td

31

td

tr

table

Try it »


Browser support

The numbers in the table indicate the first browser version number that supports the element.

Element
37.0 Not supported 59.0 6.0 24.0

Tag Definition and Usage Notes

The tag defines a dialog box, confirmation box, or window.

Differences between HTML 4.01 and HTML5

The tag is new in HTML5.

property

New : New attributes in HTML5.

property Value Description
openNew open Specifies that the dialog element is valid and that the user can interact with it.

Global Attributes

The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).

Event attribute

The tag supports [HTML Event Attributes](/tags/ref-eventattributes.html).