DEV Community

Discussion on: HTML Features, probably you never knew existed.

Collapse
 
priitpu profile image
Priit

Browsers handle line breaks between words and syllables automatically, provided there's a grammar package for the language you have defined in your HTML tag. Might be useful for content managers in languages where automatic hyphenation or word breaking doesn't work. An alternative would be to use a soft hyphen character (compart.com/en/unicode/U+00AD) which also suggests a word break possibility for the browser.

Collapse
 
codereaper08 profile image
Vishwa.R

Hey @priitpu !
Thanks for commenting :-)
I never knew about soft-hyphen thing, thanks for letting me know.