Skip to content
HTML.ONE
Home HTML Elements

HTML <dialog> Element

Represents a dialog box. Use showModal() for a modal dialog with appropriate focus management.

Example

<dialog open><p>Example non-modal dialog</p></dialog>

Further reference

HTML Living Standard