The The |
Using the <dialog> element
Example:
HTML
<dialog open>This is an open dialog window</dialog>
Attribute | Value | Description |
---|---|---|
open | open | Specifies that the dialog element is active and that the user can interact with it |
Using the <dialog> element.
The open
attribute is a boolean attribute.
When present, it specifies that the dialog element is active and that the user can interact with it.
The numbers in the table specify the first browser version that fully supports the attribute.
<dialog open>
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The dialog element</h1>
<p>This is some text.</p>
<p>This is some text.</p>
<dialog open>This is an open dialog window</dialog>
<p>This is some text.</p>
<p>This is some text.</p>
</body>
</html>
Reffered: https://www.w3schools.com/tags/tag_dialog.asp
How to create HTML <diolog> Tag | HTML Tag |
What Type of Browsers will Support for HTML <dialog> Tag | HTML Tag |
Attributes for HTML <diolog> Tag | HTML Tag |
How to add HTML <dialog> open Attribute | HTML Tag |
Read Full: | HTML Tag |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 85 |