<dialog>
The <dialog> HTML element represents a modal or non-modal dialog box, such as a confirmation prompt or a subwindow used to enter data.
Status
Baseline Widely Available (since 2024-09-14)
MDN documentation
Specifications
- HTML (#the-dialog-element), from HTML Workstream (WHATWG).
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 2025 > usage > html styling issues
- State of HTML 2025 > usage > html interoperability features features only
- State of HTML 2025 > usage > html interoperability features
- State of HTML 2025 > usage > html functionality features features only
- State of HTML 2025 > usage > html functionality features
- State of HTML 2025 > interactivity > interactivity pain points limitations 1
- State of HTML 2025 > interactivity > interactivity pain points interop issues 1
- State of HTML 2025 > interactivity > interactivity pain points features
- State of HTML 2025 > interactivity > interactivity pain points
- State of HTML 2025 > interactivity > interactivity features
- State of HTML 2025 > features > all features
- State of HTML 2025 > accessibility > accessibility pain points features
- State of HTML 2025 > accessibility > accessibility pain points
- State of HTML 2024 > usage > html interoperability features
- State of HTML 2024 > usage > html functionality features
- State of HTML 2024 > reading list > reading list
- State of HTML 2024 > interactivity > interactivity pain points
- State of HTML 2024 > interactivity > interactivity features
- State of HTML 2024 > features > all features
- State of HTML 2023 > usage > html interoperability features
- State of HTML 2023 > usage > html functionality features
- State of HTML 2023 > reading list > reading list
- State of HTML 2023 > interactivity > interactivity features
- State of HTML 2023 > features > all features
- State of CSS 2025 > usage > favorite new features
- State of CSS 2025 > usage > css missing features
- State of CSS 2025 > usage > css interoperability features
Usage (according to Chrome Platform Status)
~8.272% of page loads. More data at chromestatus.com.Interop
- Included in Interop 2022
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist