<tutorialjinni.com/>

HTML Non-Breaking Hyphen Code

HTML Code &#8209;
CSS3 Code \2011
HTML Entity  
Hex Code &#x2011;
UNICODE U+02011
URL %26%238209%3B

Usage Examples


To use Non-Breaking Hyphen in Cascading Style Sheets or CSS file use the following code.
// css3 example usage
<style>
    span {
      content: "\2011";
    }
</style>
To use Non-Breaking Hyphen in in-line HTML code you can use it "as it is" but, it is recommend that Non-Breaking Hyphen should be used like the following example code. Because it help in assigning special CSS to it.
    <!-- html usage -->
    <i>&#8209;</i>
In order to send Non-Breaking Hyphen via a HTML form or via a query string it should be properly encoded. Following is the URL encoded format of Non-Breaking Hyphen. Do not forget to Decode it on the server side.
    http://www.tutorialjinni.com/html-symbols-entity-codes.html?html-non-breaking-hyphen-code=%26%238209%3B
© Tutorial Jinni