HTML <thead> charAtributo
Ejemplo
Alinea el contenido del elemento `<thead>` con el carácter "M":
<table border="1"
width="100%">
<thead align="char" char="M">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
<thead align="char" char="M">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
</thead>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
Pruébalo »
Soporte del navegador
![]()
![]()
![]()
![]()
![]()
Casi todos los navegadores principales no soportan el atributo char.
Definición y uso
HTML5 no soporta el atributo char de `<thead>`.
El atributo char especifica la alineación del contenido del elemento `<thead>` en relación con un carácter.
El atributo char solo se puede usar cuando el atributo align está establecido en "char".
El valor predeterminado del atributo char es el carácter de punto decimal del idioma de la página actual.
Sintaxis
<thead char="character">
Valor del atributo
| Valor | Descripción |
|---|---|
| character | Especifica el carácter con el que se alineará el contenido. |
Etiqueta HTML `<thead>` Otras extensiones