HTML <td> nowrap attribute
HTML <td> tag
Example
A table cell with a nowrap attribute:
<table border="1">
<tr>
<th>Poem</th>
<th>Poem</th>
</tr>
<tr>
<td nowrap="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> |
Try it yourself!
|
Definition and Usage
The nowrap attribute specifies that the content inside a cell should not wrap.
Browser Support

The nowrap attribute is deprecated, but still supported in all major browsers.
Compatibility Notes
The nowrap attribute of the td element was deprecated in HTML 4.01,
and is not supported in XHTML 1.0 Strict DTD.
Use CSS instead.
CSS syntax: <td style="white-space: nowrap">
CSS
Example: no word wrapping in td
In our CSS tutorial you can find more details about the
white-space property.
Syntax
Attribute Values
Value |
Description |
nowrap |
Specifies that the content inside a cell should not
wrap |
HTML <td> tag
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|