Web page
How to hyphenate web pages
Latest version of Chromium based browsers has built in hyphenation for many languages. The HTML elements should annotate the language using lang attribute. Then use the following css:
1
text-align: justify;
2
hyphens: auto;
3
-webkit-hyphenate-character: '';
4
Copied!
Example webpage hyphenation
Firefox 97+ will have hyphenation support for Indian languages(Bug 1240277)
For other browsers or old versions https://github.com/mnater/Hyphenopoly can be used
All you need to know about hyphenation in CSS
clagnut
Copy link