HTML <td> nowrap Attribute
A table cell with a nowrap attribute:
<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>
Try it Yourself »
The nowrap attribute is supported in all major browsers.
Definition and Usage
The nowrap attribute is a boolean attribute.
When present, it specifies that the content inside a cell should not wrap.
The nowrap attribute of <td> is not supported in HTML5. Use CSS instead.
CSS syntax: <td style="white-space: nowrap">
In our CSS tutorial you can find more details about the white-space property.
Differences Between HTML and XHTML
In XHTML, attribute minimization is forbidden, and the nowrap attribute must be defined as <td nowrap="nowrap">.
HTML <td> tag
Thank You For Helping Us!
Your message has been sent to W3Schools.