Course Content

  • Lecture-34_hyphen

Course Content

FAQs

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.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere