Superscript Two Symbol ²

²

Copy to Clipboard


Superscript Two Symbol Information

Symbol Name Superscript Two
Unicode Version 1.1 (June 1993)
Unicode U+00B2
CSS Code \00B2
HTML Entity ²
Hex Code ²
HTML Code ²

Superscript Two Symbol Encoding

UTF-8 0xC2 0xB2
UTF-16 0x00B2
UTF-32 0x000000B2


Superscript Two symbol's PNG and SVG files


How to add superscript two symbol via keyboard on different Operating systems

You can type the superscript two on most modern devices with the help of following methods:

How to type superscript two symbol on Microsoft Word

You can type the superscript two on microsoft Microsoft Word using steps mentioned below:

  • Place your cursor in the text area where you need to insert the symbol and type 0 0 B 2
  • Without moving the cursor press keys Alt + x together
  • The original 0 0 B 2 is now transformed into ²

How to type superscript two symbol on Microsoft Windows

You can type the superscript two on Microsoft windows using following steps:

  • Hold Alt and press to type superscript two on your windows machine.

How to type superscript two symbol on Mac OS

You can type the superscript two on Mac OS using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
  • Type “Superscript Two” in the search field at the top and press Enter
  • The symbol should appear. Click on it to insert it into your text
  • How to type superscript two symbol on Mac OS
    How to type superscript two symbol on Mac OS

How to type superscript two symbol on Linux

You can type the superscript two on Linux using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Hold ⇧ Shift + Ctrl and press the letter + U
  • Press keys 0 0 B 2 consecutively
  • And then press ↵ Enter , the desired symbol will be added to your document

How to type superscript two symbol on IOS and Android

The easiest way to type the superscript two on ios and android is to copy and paste it wherever you need it.


How to use superscript two in CSS

Copy // css example
span {
content: "\00B2";
}

How to type superscript two in HTML

Copy // html example
<span>&#178;</span>

Superscript Two symbol representation in programming languages

superscript two's representation in different programming languages can be found in table below:

Language Representation
Rust \u{B2}
Ruby \u{B2}
Python \u00B2
PHP \u{B2}
Perl "\x{B2}"
Java \u00B2
Modern JavaScript - Since ES6 \u{B2}
JavaScript \u00B2
Go \u00B2
C# \u00B2
C and C++ \u00B2
Bash and Zsh - inside echo -e \u00B2
RFC 5137 \u'00B2'
No Result
Try something else