![]() To show the effect of a soft hyphen in HTML, the words of the following text have been separated with soft hyphens: The zero-width space, on the other hand, will not, as it is considered a visible character even if not rendered, thus having its own kerning metrics. The soft hyphen's Unicode semantics and HTML implementation are in many ways similar to Unicode's zero-width space, with the exception that the soft hyphen will preserve the kerning of the characters on either side when not visible. It becomes visible only after word wrapping at the end of a line. It serves as an invisible marker used to specify a place in text where a hyphenated break is allowed without forcing a line break in an inconvenient place if the text is re-flowed. In this context, the soft hyphen may also be called a discretionary hyphen or optional hyphen. ![]() The use of SHY characters in text that will be broken into lines by the recipient is the application context considered by the post-1999 HTML and Unicode specifications, as well as some word-processing file formats. ( February 2020) ( Learn how and when to remove this template message) Unsourced material may be challenged and removed. Please help improve this article by adding citations to reliable sources. This section needs additional citations for verification.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |