HTML5 <dialog> Tag
The <dialog> tag is used to specify the dialog box or window. This tag is used to create a popup dialog and models on a web page. This tag is new in HTML5.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
<dialog open> Contents... </dialog>
Attributes: This tag accepts a single attribute open which is used to specify the dialog element is active and the user can interact with the tag element.
- Google Chrome 37.0
- Firefox 59.0
- Opera 24.0
- Safari 6.0