HTML <dialog> open Attribute

❮ HTML <dialog> tag

Example

<dialog open>This is an open dialog box</dialog>

Meaning

It specifies that the dialog element should be active or not.




Standard Syntax

<dialog open>... </dialog>



Browser Support




Status







Attribute Values

Value Description
open This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.
❮ HTML <dialog> tag