HTML Entity - Fraction 1 By 2

Last Updated:

Fraction 1 By 2

½
unicodeU+000BD
hex code½
html code½
html entity½
css code\000BD

Example

The following example will demonstrate how to use 'Fraction 1 By 2' HTML entity using HTML and CSS. For a complete reference, go to our HTML Entities.

HTML Online Compiler
<!DOCTYPE html> <html> <head> <style> #point:after{ content: "\000BD"; } </style> </head> <body> <p>Fraction 1 by 2 using Hexa Decimal: &#xbd;</p> <p>Fraction 1 by 2 using HTML Code: &#189;</p> <p>Fraction 1 by 2 using HTML Entity: &frac12;</p> <p id="point">Fraction 1 by 2 using CSS Entity: </p> </body> </html>

Browser Support

Devicedesktopmobile
Browsergoogle chromesafarifirefoxinternet Exploreredgeoperagoogle chromesafarifirefoxedgeoperaandroid webviewsamsung internet
½YesYesYesYesYesYesYes?YesYesYesYes?

Share this Page

Meet the Author