English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The nowrap attribute is a boolean attribute, the nowrap attribute specifies that the content in the table cell does not wrap.
Table cells with nowrap attribute:
<table border="1"> <tr> <th>Explanation</th> <th>Explanation</th> </tr> <tr> <td nowrap>Never increase the number of entities required to explain any matter beyond the necessary range </td> <td>Never increase the number of entities required to explain any matter beyond the necessary range</td> </tr> </table>Test to see if it works ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the nowrap attribute.
HTML5 The nowrap attribute of <td> is not supported. Please use CSS instead.
In HTML 4.01 In the <td> nowrap attribute has been deprecated.
The nowrap attribute is a boolean attribute.
The nowrap attribute specifies that the content of the table cell does not wrap.
In HTML 4.01 In the <td> nowrap attribute has been deprecated. Please use CSS instead.
CSS Syntax: <td style="white-space: nowrap">
CSS Example: Table cell without line break
You can find more aboutwhite-space attribute . Details.
In XHTML, attribute shorthand is prohibited, the nowrap attribute must be defined as <td nowrap="nowrap">.
<td nowrap>HTML <td> tag