The hyphens CSS property controls whether hyphenation is allowed to create more soft wrap opportunities within a line of text.
object.style.hyphens = "value";
<'hyphens'> = none | manual | auto
Words are not hyphenated, even if characters inside the word explicitly define hyphenation opportunities.
Words are only hyphenated where there are characters inside the word that explicitly suggest hyphenation opportunities.
Words may be broken at hyphenation opportunities determined automatically by a language-appropriate hyphenation resource in addition to those indicated explicitly by a conditional hyphen.
© 2021 Osbo Design