<tutorialjinni.com/>

HTML Fraction One Half Code

HTML Code &#189; ½
CSS3 Code \00BD
HTML Entity &frac12;
Hex Code &#xbd;
UNICODE U+000BD
URL %26%23189%3B

Usage Examples


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