description & Usage
We use the word-wrap property to break long sentences and place their continuation on the bottom line.
Informations
| # | Description |
|---|---|
| Default Value | normal |
| Inherited | yes |
| Animatable | no |
| Version | CSS3 |
| JavaScript syntax | object.style.wordWrap="break-word" |
Browser compatibility and Support
| # | Chrome | Edge | Firefox | Safari | Opera |
|---|---|---|---|---|---|
| word-wrap |
Syntax
Values
| Values | Description |
|---|---|
| normal | default. |
| break-word | It makes words that cannot be broken broken. |
| initial | Adds this value to its default property. |
| inherit | It inherits this value from its parent tag. |