Here we looked at the ASCII table to find the binary number for superscript two. Then we converted that binary
number of 0s and 1s into a decimal number. Finally, we converted that decimal number into HTML code that you can use
on your webpage to display the superscript two.
From the ASCII table, we found that the binary number for superscript two is as follows: 10110010
When we converted the binary number 10110010 to a decimal number that you may be more
familiar with, we got: 178
Now that we have the ASCII decimal number for superscript two, it is easy to convert
it to ASCII HTML. We have displayed the code in green below.
²
You can copy/paste the code in green above into HTML files and it will display as superscript two.
We have displayed superscript two with the above ASCII HTML code font size 7, 6, 5, 4, and 3 below.
² ²
² ² ²
|
|