<tutorialjinni.com/>

HTML Superscript Two Code

HTML Code &#178; ²
CSS3 Code \00B2
HTML Entity &sup2;
Hex Code &#xb2;
UNICODE U+000B2
URL %26%23178%3B
Category HTML Math Equation Symbols Code

Usage Examples


To use Superscript Two in Cascading Style Sheets or CSS file use the following code.
// css3 example usage
<style>
    span {
      content: "\00B2";
    }
</style>
To use Superscript Two in in-line HTML code you can use it "as it is" but, it is recommend that Superscript Two should be used like the following example code. Because it help in assigning special CSS to it.
    <!-- html usage -->
    <i>&#178;</i>
In order to send Superscript Two via a HTML form or via a query string it should be properly encoded. Following is the URL encoded format of Superscript Two. Do not forget to Decode it on the server side.
    https: //www.tutorialjinni.com/html-symbols-entity-codes.html? html-superscript-two-code=%26%23178%3B