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?