Style wordWrap Property
Style wordWrap Property
The wordWrap property is used to break the long words in order to wrap them into the next line.
Syntax:-
Its syntax is:- object.style.wordWrap OR object.style.wordWrap = normal | break-word | initial | inherit
Return:-
Its return is:- string having word-wrap property of an element
Further Explanation:-
Value | Description |
---|---|
normal | Break words only at allowed break points. |
break-word | Allows unbreakable words to be broken. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |