<dialog>
Widely available since 2024-09-14
The <dialog>
HTML element represents a modal or non-modal dialog box, such as a confirmation prompt or a subwindow used to enter data.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 37 Released on 2014-08-26
- Chrome Android 37 Released on 2014-09-03
- Edge 79 Released on 2020-01-15
- Firefox 98 Released on 2022-03-08
- Firefox for Android 98 Released on 2022-03-08
- Safari 15.4 Released on 2022-03-14
- Safari on iOS 15.4 Released on 2022-03-14
Surveys
- State of HTML 2024: interactivity/interactivity_features question
- State of HTML 2024: features/all_features question
- State of HTML 2023: usage/html_interoperability_features question
- State of HTML 2023: usage/html_functionality_features question
- State of HTML 2023: reading_list/reading_list question
- State of HTML 2023: interactivity/interactivity_features question
- State of HTML 2023: features/all_features question
Specifications
- HTML (#the-dialog-element), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature