# Web page

Latest version of Chromium based browsers[ has built in hyphenation](https://github.com/chromium/chromium/tree/main/third_party/hyphenation-patterns/src/ml) for many languages. The HTML elements should annotate the language using `lang` attribute. Then use the following css:

```css
text-align: justify;
hyphens: auto;
-webkit-hyphenate-character: '';

```

![Example webpage hyphenation](https://620052135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJkzx1KF5XGsfOgiP-a%2Fuploads%2Fgit-blob-ee7828e3592c17e50ddce9ef028cf3ee1ff104a1%2Fimage.png?alt=media)

Firefox 97+ will have hyphenation support for Indian languages([Bug 1240277](https://bugzilla.mozilla.org/show_bug.cgi?id=1240277))

For other browsers or old versions <https://github.com/mnater/Hyphenopoly> can be used

{% embed url="<http://clagnut.com/blog/2395/>" %}
