<td nowrap>

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

The nowrap attribute of the TD (TH) element disables automatic text wrapping for the cell.


<td nowrap>disables text wrapping</td>

Attribute Value Explanation
nowrap nowrap disables text wrapping
(HTML : nowrap | XHTML : nowrap="nowrap")

The use of this attribute is deprecated. (Use CSS instead)

Example


<table border="1" width="300">
<tr>
<td nowrap>some text some text some text</td>
<td>some text some text some text some text</td>
</tr>
</table>

Output
some text some text some text some text some text some text some text