< All the HTML Tags >

<dialog></dialog>

Video Coming Soon...

  • dialog

    Tag Type

    block

    Tag Category

    interactive

    Creates a dialog box or modal window.

    Viewed

    1

    Examples

    1

Definition:

The HTML <dialog> tag is used to define a dialog box or other interactive component, providing a way to create modal or non-modal windows on a webpage.

This tag can contain various elements, including buttons,

Attributes:

open, Global attributes (e.g., class, id, style)

Accessibility:

Coming Soon…

Default dialog Example:

Simple dialog box
<dialog open>This is a dialog</dialog>

Default dialog Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…