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>
<!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>
Type: | html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |