HTML <dialog> tag
Exemples
Utilisez élément <dialog>:
<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>
<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>
Essayez »
support du navigateur
Actuellement, seuls Chrome et Safari 6 Aide <dialog> tag.
définitions de balises et les instructions
<Dialog> définit une boîte de dialogue, boîte ou fenêtre vérifier.
Différences entre HTML 4.01 et HTML5
<Dialog> tag est nouvelle dans les balises HTML5.
propriété
Nouveau: HTML5 nouvelle propriété.
属性 | 值 | 描述 |
---|---|---|
open New | open | 规定 dialog 元素是有效的,用户可以与它进行交互。 |
global Properties
<Dialog> supporte HTML propriétés globales .
Propriétés de l'événement
<Dialog> supporte les propriétés d'événements HTML .