; XML: XML specifies five predefined entities needed to support every printable ASCII character: &, <, >, ', and ". The trailing semicolon is mandatory in XML (and XHTML) for these five entities (even if HTML or SGML allows omitting it for some of them, according to their DTD). ; ISO Entity Sets:
SGML supplied a comprehensive set of entity declarations for characters widely used in Western technical and reference publishing, for Latin, Greek and Cyrillic scripts. The
American Mathematical Society also contributed entities for mathematical characters (see ). ; HTML Entity Sets: Early versions of
HTML built in small subsets of these, relating to characters found in three Western 8-bit character sets. ; MathML Entity Sets: The
W3C developed a set of entity declarations for
MathML characters. ; XML Entity Sets: The
W3C MathML Working Group took over maintenance of the ISO public entity sets, combined with the MathML and documents them in XML Entity Definitions for Characters. This set can support the requirements of
XHTML,
MathML and as an input to future versions of HTML. ; HTML5:
HTML5 adopts the XML entities as named character references, and does not group them into sets. The character reference names originate from XML Entity Definitions for Characters. The HTML5 specification additionally provides mappings from the names to Unicode character sequences using
JSON. Numerous other entity sets have been developed for special requirements, and for major and minority scripts. However, the advent of
Unicode has largely superseded them.
Formal public identifiers for HTML DTD entities subsets The full
formal public identifier and system identifier for the DTD entities subset (where the character entity name is defined) is actually mapped from one of the following three defined named entities:
Formal public identifiers for old ISO entities subsets The ISO entities subsets are old (documented) character subsets, which are given SGML character entity names in
ISO 8879 and ISO 9573, and which were used in legacy encodings before the unification within ISO 10646. Their full
formal public identifiers are as follows: == List of character entity references in HTML ==