Easy Tutorial
❮ Att Frame Frameborder Att Input Placeholder ❯

HTML <dialog> open Attribute

HTML <dialog> Tag

Example

Using the <dialog> element:


Browser Support

Currently, only Chrome and Safari 6 support the open attribute.


Definition and Usage

The open attribute is a boolean attribute.

When this attribute is set, it specifies that the dialog element is active and can interact with the user.


Differences Between HTML 4.01 and HTML5

The <dialog> tag is a new tag in HTML5.


Differences Between HTML and XHTML

In XHTML, attribute minimization is forbidden, and the open attribute must be defined as: <dialog open="open">.


Syntax


❮ Att Frame Frameborder Att Input Placeholder ❯