- 0133技术站
- 联系QQ:88526
- QQ交流群

- 微信公众号

指示这个对话框是激活的和能互动的。当这个 open 特性没有被设置,对话框不应该显示给用户。
目前只有 Chrome, 和 Safari 6 支持 open 属性。
<dialog> 标签是HTML5 新标签。
在 XHTML 中, 属性不允许简写,open属性必须定义为: <dialog open="open">。
<dialog open>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <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> </body> </html>
点击 "运行实例" 按钮查看在线实例
推荐手册