Latest web development tutorials

HTML dialog open properties

HTML dialog Tag Reference HTML <dialog> tag

Examples

Use <dialog> element:

<table border="1">
<tr>
<th>January <dialog open>This is an open dialog window</dialog></th>
<th>February</th>
<th>March</th>
</tr>
<tr>
<td>31</td>
<td>28</td>
<td>31</td>
</tr>
</table>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

At present, only Chrome, and Safari 6 supports open property.


Definition and Usage

open property is a boolean (Boolean) property.

After using this attribute specifies the dialog element is active, you can interact with the user.


Differences between HTML 4.01 and HTML5

<Dialog> tag HTML5 is the new label.


Differences between HTML and XHTML

In XHTML, the property does not allow short, open property must be defined as: <dialog open = "open">.


grammar

<dialog open>


HTML dialog Tag Reference HTML <dialog> tag