0

The format for a hexadecimal character code in HTML is:

�

... where 00 is the UTF-8 or ASCII code of the character.

Obviously the & and the ; are somewhat arbitrary codes, and the # indicates that a numerical code is being given rather than a text reference like & for ampersand. Without the x, the browser expects a code in decimal format, which makes sense.

But why the x to indicate hexidecimal?

brentonstrine
  • 21,694
  • 25
  • 74
  • 120

1 Answers1

-1

x means that is hexadecimal reference: http://www.w3schools.com/charsets/ref_utf_dingbats.asp

Vuer
  • 149
  • 6