手册
目录
前言:
HTML <dialog> 标签 实例 使用 <dialog> 元素: <table border='1'><tr> <th>January <dialog open>This is an open dialo..
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <p><b>注意:</b>目前只有 Chrome 和 Safari 6 支持 dialog 标签。</p> <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>
点击 "运行实例" 按钮查看在线实例

目前,只有 Chrome 和 Safari 6 支持 <dialog> 标签。
<dialog> 标签定义一个对话框、确认框或窗口。
<dialog> 标签是 HTML5 中的新标签。
New :HTML5 中的新属性。
| 属性 | 值 | 描述 |
|---|---|---|
| openNew | open | 规定 dialog 元素是有效的,用户可以与它进行交互。 |
<dialog> 标签支持 HTML 的全局属性。
<dialog> 标签支持 HTML 的事件属性。
相关
视频
RELATED VIDEOS
科技资讯
1
2
3
4
5
6
7
8
9
精选课程
共5课时
17.2万人学习
共49课时
77万人学习
共29课时
61.7万人学习
共25课时
39.3万人学习
共43课时
70.9万人学习
共25课时
61.6万人学习
共22课时
23万人学习
共28课时
33.9万人学习
共89课时
125万人学习