HTML <dialog> open Attribute

❮ HTML <dialog> tag


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


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

Standard Syntax

<dialog open>... </dialog>

Browser Support


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