HTML e propriétés de l'axe
Exemples
table HTML avec la cellule classification d'en-tête de tableau:
<table border="1" width="100%">
<tr>
<th axis="name">Name</td>
<th axis="contact">Email</td>
<th axis="contact">Phone</td>
<th axis="contact">Address</td>
</tr>
<tr>
<td>John Doe</td>
<td>[email protected]</td>
<td>+45342323</td>
<td>Rosevn 56,4300 Sandnes,Norway</td>
</tr>
</table>
<tr>
<th axis="name">Name</td>
<th axis="contact">Email</td>
<th axis="contact">Phone</td>
<th axis="contact">Address</td>
</tr>
<tr>
<td>John Doe</td>
<td>[email protected]</td>
<td>+45342323</td>
<td>Rosevn 56,4300 Sandnes,Norway</td>
</tr>
</table>
Essayez »
support du navigateur
propriété axe n'a pas d'effet visuel dans un navigateur Web ordinaire, mais vous pouvez utiliser les lecteurs d'écran.
Définition et utilisation
HTML5 ne supporte pas le <th> axe propriétés.
attribut axe pour la classification en-tête de la cellule.
axe propriété peut être utilisée pour obtenir des informations associées à une combinaison de colonnes.
grammaire
<th axis="category_name">
Valeur de la propriété
值 | 描述 |
---|---|
category_name | 规定类别的名称。 |
HTML <th> tag