There is a W3C proposal that browsers support special icons that
can be built into the browser and addressed as entities, allowing
common icons to be used with lower bandwidth consumption and high
browser control over semantic interpretation of the icons. This is a
test: &archive; is the "archive" entity, and &text.document;
represents a text document. This: &alert.red; is an extension iconic
entity provided in my .grail/icons
directory. Another
one: &doesnt.exist; does not exist.
More information about the proposal can be found in the working draft HTML Predefined Icon-Like Symbols.
Other entity representation issues involve handling the matter of entity termination. The following rules are used by Grail in resolving general entity references:
This sentence contains an ``amp'' entity without an ERC token: & . This sentence contains an ``amp'' entity with an ERC token: & . This entity: &doesnt.exist; uses the ERC token; this one: &doesnt.exist does not.