Copy and paste shortcodes for ยฝ Fraction One Half.
Unicode | U+00BD | |
Alt Code | 171 | |
HTML Code | ½ | |
CSS Code | \00BD | |
HTML Entity | ½ |
To type the ยฝ using the keyboard you can the Alt code from the shortcode section. Here are the two simple steps to type the ยฝ using Alt code from your keyboard. Make sure you switch on the Num Lock from the keyboard and you type the number from the Numpad and not from the top row of the keyboard.
Once you release the Alt key, the ยฝ symbol will be displayed. This trick will work for other special characters also.
To add the ยฝ Fraction One Half Symbol in HTML, you can use an HTML entity, an HTML code(decimal), and a Hex code. Use the shortcode section to copy the various shortcodes for the Fraction One Half. Here is the example:
// HTML entity example
<span>I am ½ Symbol</span>
// HTML code example
<span>I am ½ Symbol</span>
All the above example will display the Fraction One Half symbol as below.
To display the Fraction One Half Symbol from CSS, you can use a CSS shortcode or CSS entity. Use the shortcode section to copy the CSS entity code for the Fraction One Half. You can only add content :before or :after an element: Here is the example:
// CSS entity code example
.useSymbol:after {
content: ' \00BD';
}
// The HTML
<div class="useSymbol">Fraction One Half</div>
The above example for CSS entiry for Fraction One Half symbol will display the result as below.
Copy
paste
โ Copy
paste
ยฝCopy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
ยพCopy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
ยผCopy
paste
โ Copy
paste
โ Copy
paste
โ Copy
paste
โCopy
paste
%Copy
paste
โCopy
paste
โฐCopy
paste
โฑ