From http://www.w3schools.com (Copyright Refsnes Data)
Entities are variables used to define shortcuts to standard text or special characters.
Entity references are references to entities
Entities can be declared internal or external
<!ENTITY entity-name "entity-value"> |
DTD Example: <!ENTITY writer "Donald Duck."> <!ENTITY copyright "Copyright W3Schools."> XML example: <author>&writer;©right;</author> |
Note: An entity has three parts: an ampersand (&), an entity name, and a semicolon (;).
<!ENTITY entity-name SYSTEM "URI/URL"> |
DTD Example: <!ENTITY writer SYSTEM "http://www.w3schools.com/entities.dtd"> <!ENTITY copyright SYSTEM "http://www.w3schools.com/entities.dtd"> XML example: <author>&writer;©right;</author> |
From http://www.w3schools.com (Copyright Refsnes Data)