Hyphenating HTML text with ­

Seriously, how did I never know about this until today?

U+00AD (SHY)
An invisible, “soft” hyphen. This character is not rendered visibly; instead, it suggests a place where the browser might choose to break the word if necessary. In HTML, you can use ­ to insert a soft hyphen.

Leave a Reply

Your email address will not be published. Required fields are marked *

*