Description:

The HTML <dialog> tag indicates a part of an application that the user can interact with to perform a task. For example a dialog box, inspector, or window.

Example Code:
<dialog open>
<p>The open attribute has been added, which means that the dialog is already open upon the page loading.</p>
</dialog>
Result:

The open attribute has been added, which means that the dialog is already open upon the page loading.




Attributes:
Attribute Definition
open Specifies that the dialog element is active and that the user can interact with it
Global Attributes:

The <dialog> tag also supports the Global Attributes in HTML5

Event Attributes:

The <dialog> tag also supports the Event Attributes in HTML5



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.