January This is an open dialog window February March "> January This is an open dialog window February March " />
Easy Tutorial
❮ Att Textarea Disabled Tag Input ❯

HTML <dialog> Tag

Example

Using the <dialog> element:

<table border="1">
<tr>
  <th>January &lt;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>

Browser Support

The numbers in the table specify the first browser version that fully supports the element.

Element
<dialog> 37.0 Not supported 59.0 6.0 24.0

Tag Definition and Usage

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


Differences Between HTML 4.01 and HTML5

The <dialog> tag is new in HTML5.


Attributes

Attribute Value Description
open New open Specifies that the dialog element is active and the user can interact with it.

Global Attributes

The <dialog> tag supports HTML's global attributes.


Event Attributes

The <dialog> tag supports HTML's event attributes.

❮ Att Textarea Disabled Tag Input ❯