HTML Entity - 2 Subscript

Last Updated:

2 Subscript

unicodeU+02082
hex code₂
html code₂
html entity-
css code\02082

Example

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

Browser Support

Devicedesktopmobile
Browsergoogle chromesafarifirefoxinternet Exploreredgeoperagoogle chromesafarifirefoxedgeoperaandroid webviewsamsung internet
YesYesYesYesYesYesYes?YesYesYesYes?

Share this Page

Meet the Author