Here we looked at the ASCII table to find the binary number for degree sign. 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 degree sign.
From the ASCII table, we found that the binary number for degree sign is as follows: 10110000
When we converted the binary number 10110000 to a decimal number that you may be more
familiar with, we got: 176
Now that we have the ASCII decimal number for degree sign, 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 degree sign.
We have displayed degree sign with the above ASCII HTML code font size 7, 6, 5, 4, and 3 below.
° °
° ° °
|
|