disables automatic text wrapping


<td nowrap>

Browser
Internet Explorer Firefox Opera
Type
Deprecated

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)

Tips and Notes

Use CSS instead of deprecated HTML. Please see the "Related Document" for details on CSS.


Example

<table border="1" width="500">
<tr>
<td nowrap>some text 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 some text