css.properties

word-wrap

The word-wrap property specifies whether words break to prevent overflow.

Draft โ€” This property is defined in a W3C Draft and may be subject to change

Formal Syntax

normal | break-word | anywhere

See specification

JavaScript Access

// Access via element.style
element.style.wordWrap = 'normal';

Browser Support

This property is defined in a W3C Draft and may be subject to change. Browser support data is not yet available.

Related Properties