Superscript Two ²

²

Click above button to copy and paste Superscript Two.

Shortcodes

Copy and paste shortcodes for Superscript Two ² symbol.

UnicodeU+00b2
Alt Code178
HTML Code²
CSS Code\00b2
HEX Code²
emoji copy and paste
  • How to type ² Superscript Two symbol from keyboard?

    To type the ² using the keyboard you can the Alt code from the shortcode section. Here are the two simple steps to type the ² using Alt code from your keyboard. Make sure you switch on the Num Lock from the keyboard and you type the number from the Numpad and not from the top row of the keyboard.

    1. Hold down the left Alt Key from your keyboard.
    2. Type the Alt code number 178 and release the Alt key.

    Once you release the Alt key, the ² symbol will be displayed. This trick will work for other special characters also.

  • How to add Superscript Two in HTML?

    To add the ² Superscript Two in HTML, you can use an HTML entity, an HTML code(decimal), and a Hex code. Use the shortcode section to copy the various shortcodes for the Superscript Two. Here is the example:

    // HTML code example
    <span>I am &#178; Symbol</span>
    // HEX code example
    <span>I am &#xb2; Symbol</span>

    All the above example will display the Superscript Two symbol as below.

    I am ² symbol.
  • How to add Superscript Two in CSS?

    To display the Superscript Two from CSS, you can use a CSS shortcode or CSS entity. Use the shortcode section to copy the CSS entity code for the Superscript Two. You can only add content :before or :after an element: Here is the example:

    // CSS entity code example
    .addSymbol:after {
      content: ' \00b2';
    }

    // The HTML
    <div class="addSymbol">Superscript Two</div>

    The above example for CSS entiry for Superscript Two symbol will display the result as below.

    Superscript Two ²

Discover More Number Symbols To Copy Paste