CSS: How to enable hyphenation?

To make text blocks look nicer, one possibility is to implement them as justified text.

p { 
    text-align: justify; 
};

If you prefer left-justified text, you can also use hyphenation.

p { 
    hyphens: auto; 
}

For this to work the language of the website must be set.

<html lang="de">
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.