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