HTML
标签nowrap属性实例
带有 nowrap 属性的表格单元格:
Poem | Poem |
---|---|
Never increase, beyond what is necessary, the number of entities required to explain anything | Never increase, beyond what is necessary, the number of entities required to explain anything |
亲自测试一下
浏览器支持
所有主流浏览器都支持 nowrap 属性。
定义和用法
HTML5 不支持
nowrap 属性。请使用 CSS 代替。在 HTML 4.01 中,
的 nowrap 属性 已废弃。nowrap 属性是一个布尔属性。
nowrap 属性规定表格单元格中的内容不换行。
兼容性注释
在 HTML 4.01 中,
的 nowrap 属性已废弃。请使用 CSS 代替。CSS 语法:
在我们的 CSS 教程中,您可以找到更多有关 white-space 属性 的细节。
HTML 与 XHTML 之间的差异
在 XHTML 中,禁止属性最小化,nowrap 属性必须定义为
。语法
属性
描述
td abbr
td align
td axis
td bgcolor
td char
td charoff
td colspan
td headers
td height
td rowspan
td scope
td valign
td width
本文网址:http://www.santii.com/html/attr-td-nowrap.html