HTML Entity - 2

Last Updated:

2

2
unicodeU+00032
hex code2
html code2
html entity-
css code\00032

Example

The following example will demonstrate how to use '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: "\00032"; } </style> </head> <body> <p>2 using Hexa Decimal: &#x32;</p> <p>2 using HTML Code: &#50;</p> <p id="point">2 using CSS Entity: </p> </body> </html>

Browser Support

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

Share this Page

Meet the Author