Which should I use, &entityname; or &#number; ?

In HTML, characters can be represented in three ways:

  1. a properly coded character, in the encoding specified by the “charset” attribute of the “Content-type:” header;

  2. a character entity (&entityname;), from the appropriate HTML specification (HTML 2.0/3.2, HTML 4, etc.);

  3. a numeric character reference (number;) that specifies the Unicode reference of the desired character. We recommend using decimal references; hexadecimal references are less widely supported.