HTML <td> nowrapAtributo
Ejemplos
Celda de tabla con el atributo nowrap:
<table border="1">
<tr>
<th>Poem</th>
<th>Poem</th>
</tr>
<tr>
<td nowrap>Never increase, beyond what is necessary, the number of entities required to explain anything</td>
<td>Never increase, beyond what is necessary, the number of entities required to explain anything</td>
</tr>
</table>
<tr>
<th>Poem</th>
<th>Poem</th>
</tr>
<tr>
<td nowrap>Never increase, beyond what is necessary, the number of entities required to explain anything</td>
<td>Never increase, beyond what is necessary, the number of entities required to explain anything</td>
</tr>
</table>
Pruébalo »
Soporte del navegador
![]()
![]()
![]()
![]()
![]()
Todos los navegadores principales admiten el atributo nowrap.
Definición y uso
HTML5 no admite el atributo nowrap de <td>. Utilice CSS en su lugar.
En HTML 4.01, el atributo nowrap de <td>está obsoleto。
El atributo nowrap es un atributo booleano.
El atributo nowrap especifica que el contenido de una celda de tabla no se ajusta automáticamente.
Nota de compatibilidad
En HTML 4.01, el atributo nowrap de <td> está obsoleto. Utilice CSS en su lugar.
Sintaxis CSS: <td style="white-space: nowrap">
En nuestro tutorial de CSS, puede encontrar más información sobrela propiedad white-spaceen detalle.
Diferencias entre HTML y XHTML
En XHTML, la minimización de atributos está prohibida, el atributo nowrap debe definirse como <td nowrap="nowrap">.
Sintaxis
<td nowrap>
Etiqueta HTML <td> Otras extensiones