CSS's word-break property can be used to control when line breaks should be applied. Line breaks in text are normally only possible in particular locations, such as when there is a space or a hyphen. When we change the text's width to one em, the word breaks at each letter: HTML.
A hyphen is a punctuation mark that has the function of joining two words together. CSS hyphens are used to separate words or phrases.
The hyphen property is used to specify the width of a line-hyphenation. It is a CSS property that you can use to specify the width of a line-hyphenation.
The benefits of using hyphens in CSS code include:
Easy to read and maintain code when you use hyphens.
Easier to add and remove content or rearrange sections of the website without having to worry about other CSS changes.
Learner's Ratings
4.3
Overall Rating
69%
15%
7%
4%
5%
Reviews
R
Rudra
4
Sir thanks a lot
S
Shubham Shinde
5
good
C
Chandan kumar sharma
4
aap jo is video me bata rahe hai ki pahle ye sab padha hai position ke bare me to kaha padhaye hai abhi tak wo sab ?
M
Monika Rana
5
Great Explaination!
V
Vishal
5
Its really good teacher
Best explanation
N
Neha Chaprana
5
all good
V
Vivek kumar
5
forums feature is not working ☹️
Q
Qitmeer Raza
5
This Course Is Very Helpful For Beginners !! THANKS, A LOT
Share a personalized message with your friends.