About Lesson
CSS | word-break Property
This word-break property is used to specify how to break the word when the word reached at end of the line. The line breaks in the text can occur in certain spaces, like when there is a space or a hyphen.
Syntax: word-break: normal|break-all|keep-all|break-word|initial|inherit;
Properties: There are word-break property which are given below:
- normal
- break-all
- keep-all
- initial
- inherit
CSS | word-wrap Property
The word-wrap property in CSS is used to break long word and wrap into the next line. It defines whether to break words when the content exceeds the boundaries of its container.
Syntax: word-wrap: normal|break-word|initial|inherit;
Properties: There are word-wrap property which are given below:
- normal
- break-word
- initial
- inherit
Exercise Files
No Attachment Found
Join the conversation