Entities are used to define shortcuts to special characters.
Entities can be declared internal or external.
Example of Internal Entity Declaration
Syntax
<!ENTITY entity-name "entity-value">Example
<!ENTITY writer "Tom Nolan">
<!ENTITY copyright "Copyright TutorialReference."><author>&writer;©right;</author>Example of External Entity Declaration
Syntax
<!ENTITY entity-name SYSTEM "URI">
or
<!ENTITY entity-name SYSTEM "URL">Example
<!ENTITY writer SYSTEM "https://tutorialreference.com/entities.dtd">
<!ENTITY copyright SYSTEM "https://tutorialreference.com/entities.dtd"><author>&writer;©right;</author>