HTML Fraction One Half Code |
||
HTML Code | ½ | ½ |
CSS3 Code | \00BD | |
HTML Entity | ½ | |
Hex Code | ½ | |
UNICODE | U+000BD | |
URL | %26%23189%3B | |
Category | HTML Number Symbols Code | |
Usage ExamplesTo 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>½</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.
https: //www.tutorialjinni.com/html-symbols-entity-codes.html? html-fraction-one-half-code=%26%23189%3B
|