HTML Entity | 2 Superscript

2 Superscript

²
unicodeU+000B2
hex code²
html code²
html entity²
css code\000B2

Example

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

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Meet the Author