HTML atribut td nowrap
contoh
Tabel sel dengan atribut nowrap:
<table border="1">
<tr>
<th>Poem</th>
<th>Poem</th>
</tr>
<tr>
<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>
</tr>
</table>
<tr>
<th>Poem</th>
<th>Poem</th>
</tr>
<tr>
<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>
</tr>
</table>
Coba »
Dukungan Browser
Semua browser utama mendukung atribut nowrap.
Definisi dan Penggunaan
HTML5 tidak mendukung <td> nowrap atribut. Gunakan CSS sebagai gantinya.
Dalam HTML 4.01, <td> Atribut nowrap sudah ditinggalkan .
nowrap atribut adalah atribut Boolean.
Atribut nowrap menentukan isi sel tabel tidak membungkus.
kompatibilitas Catatan
Dalam HTML 4.01, <td> Atribut nowrap sudah ditinggalkan. Gunakan CSS sebagai gantinya.
CSS Syntax: <td style = "white-space: nowrap">
CSS Contoh: sel tabel tidak membungkus
Dalam tutorial CSS kami Anda dapat menemukan informasi lebih lanjut tentang white-space atribut rincian.
Perbedaan antara HTML dan XHTML
Dalam XHTML, melarang minimalisasi atribut, atribut nowrap harus didefinisikan sebagai <td nowrap = "nowrap">.
tatabahasa
<td nowrap>
HTML <td> tag