HTML <dialog> Tag

The <dialog> tag defines a dialog box or window.The <dialog> element makes it easy to create popup dialogs and modals on a web page.


Attribute Value Description
open open Specifies that the dialog element is active and that the user can interact with it


<!DOCTYPE html>
table, th, td {
    border: 1px solid black;

<p><b>Note:</b> The dialog tag is not supported in Edge/Internet Explorer.</p>

    <th>January <dialog open>This is an open dialog window</dialog></th>


© copyright 2017-2022 Completedone pvt ltd.