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

HTML dialog open Attribute

HTML open property

HTML dialog Tag Reference HTML

tag

Example

Use

element:

 

 

 

 

 

 

January This is an open dialog window February March
31 28 31

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently only Chrome and Safari 6 support the open attribute.


Definition and Usage

The open attribute is a boolean attribute.

When this attribute is used, the specified dialog element is active and can interact with the user.


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.

Differences between HTML and XHTML

In XHTML, attribute minimization is not allowed, and the open attribute must be defined as:

.


Syntax


HTML dialog Tag Reference HTML

tag