Easy Tutorial
❮ Dtd Tutorial Dtd Examples ❯

DTD - Entity

Entities are variables used to define shortcuts for referencing regular text or special characters.

-

An entity reference is a reference to an entity.

-

Entities can be declared internally or externally.


An Internal Entity Declaration

Syntax

Example

Note: An entity consists of three parts: an ampersand (&), an entity name, and a semicolon (;).


An External Entity Declaration

Syntax

Example

❮ Dtd Tutorial Dtd Examples ❯