Back to Content

HTMLTableCellElement: noWrap property

files/en-us/web/api/htmltablecellelement/nowrap/index.md

latest669 B
Original Source

{{APIRef("HTML DOM API")}}{{deprecated_header}}

The noWrap property of the {{domxref("HTMLTableCellElement")}} interface returns a Boolean value indicating if the text of the cell may be wrapped on several lines or not.

[!NOTE] This property is deprecated and you should use the CSS {{cssxref("white-space")}} property with the value nowrap instead.

Value

A Boolean value.

Examples

Use CSS white-space instead. An example is available on the {{cssxref("white-space")}} page.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}