English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

HTML Tag大全

HTML td nowrap Eigenschaft

Die Eigenschaft nowrap ist ein boolesches Attribut. Die Eigenschaft nowrap legt fest, dass der Inhalt der Zellen in der Tabelle nicht umgebrochen wird.

 HTML <td> Tag

Online-Beispiel

Tabellenzellen mit der Eigenschaft nowrap:

<table border="1">
  <tr>
    <th>Erklärung</th>
    <th>Erklärung</th>
  </tr>
  <tr>
    <td nowrap>Erhöhen Sie niemals die Anzahl der Entitäten, die für die Erklärung eines jeden Dings erforderlich sind, über das notwendige Maß hinaus</td>
    <td>Erhöhen Sie niemals die Anzahl der Entitäten, die für die Erklärung eines jeden Dings erforderlich sind, über das notwendige Maß hinaus</td>
  </tr>
</table>
Testen Sie, ob es funktioniert ›/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the nowrap attribute.

Definition and Usage

HTML5 The nowrap attribute of <td> is not supported. Please use CSS instead.

In HTML 4.01 In this case, the nowrap attribute of <td> is deprecated.

The nowrap attribute is a boolean attribute.

The nowrap attribute specifies that the content in the table cell does not wrap.

Compatibility Comments

In HTML 4.01 In this case, the nowrap attribute of <td> is deprecated. Please use CSS instead.

CSS Syntax: <td style="white-space: nowrap">

CSS Example: Do not wrap in table cells

You can find more aboutwhite-space attribute in detail.

Differences between HTML and XHTML

In XHTML, attribute shorthand is prohibited, the nowrap attribute must be defined as <td nowrap="nowrap">.

Syntax

<td nowrap>
 HTML <td> Tag