Javatpoint Logo
Javatpoint Logo

HTML Dialog Tag

HTML <dialog> tag is used to create a new popup dialog on a web page. This tag represents a dialog box or other interactive component like window.

The <dialog> element uses a boolean attribute called open that activate element and facilitate user to interact with it.

HTML dialog is a new tag introduced in HTML5.


HTML dialog tag example

Test it Now

Output:

I am so clever that sometimes I don't understand a single word of what I am saying. - Oscar Wilde


HTML dialog tag also supports global and event attributes in HTML.


Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<dialog>YesYesYesYesYes
Next TopicHTML dir Tag





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA