HTML dialog Tag

HTML dialog tag is used to show dialogs or window on the web page.

The dialog contains a boolean value open which we can use when we want to show dialog box. The boolean attribute can be control by using script(like javascript) to make it open or close.



This is the heading

This is the dialog paragraph.

List of HTML dialog tag attributes

Sr. No. Details attributes Description
1 open Used to specify whether the details tag content should be open or not. The open attribute does not contains boolean values true or false. we only include open inside <dialog> to make it remain open.

Resources and References of HTML dialog tag

1. HTML living standard
2. W3C project using Github

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Get FREE Access to Toolkit and Resources that we are using in Tutorialdeep that Every Professional Should Have! in one handy PDF.

Download Link Will be Send to Your Email id