Advertisement
Home Open Editor ❯

HTML <dialog> open Attribute

Example

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

Try this code ❯

Meaning

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


Standard Syntax

<dialog open>... </dialog>


Advertisement

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.
Home Open Editor ❯
Advertisement