The HTML <dialog> open Attribute is used to specify whether the dialog box should be open or not. It is new in HTML5. It is a Boolean Attribute.
If open, it means the user can interact with it.
Attribute Values: It accepts two values i.e. true|false which specifies whether a dialog window should be open or not. By default, it is false.
- true: It states that the dialog window is open.
- false: It states that the dialog window is not open.
Supported Browsers: The browsers supported by HTML <dialog> open Attribute are listed below:
- Google Chrome
- Apple Safari
- HTML | DOM Dialog open Property
- HTML | open Attribute
- HTML | <details> open Attribute
- HTML | DOM Dialog Object
- HTML | DOM Dialog close() Method
- HTML | DOM Dialog showModal() Method
- HTML | DOM Dialog show() Method
- HTML | DOM open() Method
- HTML | DOM Details open Property
- HTML5 | <dialog> Tag
- ES6 | Dialog Boxes
- JQueryUI | dialog
- How to disable a button in jQuery dialog from a function ?
- HTML | <a> rel Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.