Here we looked at the ASCII table to find the binary number for 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 two.
From the ASCII table, we found that the binary number for two is as follows: 0110010
When we converted the binary number 0110010 to a decimal number that you may be more
familiar with, we got: 50
Now that we have the ASCII decimal number for two, it is easy to convert
it to ASCII HTML. We have displayed the code in green below.
2
You can copy/paste the code in green above into HTML files and it will display as two.
We have displayed two with the above ASCII HTML code font size 7, 6, 5, 4, and 3 below.
2 2
2 2 2
|
|