elibraryportal Logo

HTML <dialog> tag

The 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.

  • Attributes: This tag accept single attribute open which is used to specify the dialog element is active and the user can interact with tag element.

Syntax:-

Example:-

Test it Now