Prop Style Wordbreak
# Style wordBreak Property
[ Style Object](#)
## Example
Break a line between any two letters:
document.getElementById("myDIV").style.wordBreak="break-all";
[Try it Yourself Β»](#)
* * *
## Definition and Usage
The wordBreak property specifies line breaking rules for non-CJK languages.
**Note:** CJK languages refer to Chinese, Japanese, and Korean.
* * *
## Browser Support

The wordBreak property is supported by all major browsers.
* * *
## Syntax
Get the wordBreak property:
_object_.style.wordBreak
Set the wordBreak property:
_object_.style.wordBreak="normal|break-all|keep-all|initial|inherit"
## Property Values
| Value | Description |
| --- | --- |
| normal | Default value. Uses the default line break rules of the browser. |
| break-all | Allows line breaks between any two letters within a word. |
| keep-all | Allows line breaks only at half-width spaces or hyphens. |
| initial | Sets this property to its default value. Read about _initial_. |
| inherit | Inherits this property from its parent element. Read about _inherit_. |
## Technical Details
| Default Value: | normal |
| --- | --- |
| Return Value: | A string, representing the word-break property of the element. |
| CSS Version | CSS3 |
* * *
## Related Articles
CSS Reference: (#)
* * Style Object](#)
YouTip