Numeric Character Reference (NCR)
A numeric character reference (NCR) is a common markup construct used in SGML and SGML-derived markup languages such as HTML and XML. It consists of a short sequence of characters that, in turn, represents a single character. Since WebSgml, XML and HTML 4, the code points of the Universal Character Set (UCS) of Unicode are used. NCRs are typically used in order to represent characters that are not directly encodable in a particular document. When the document is interpreted by a markup-aware reader, each NCR is treated as if it were the character it represents.
Example
In SGML, HTML, and XML, the following are all valid numeric character references.
"NCR code"(Character)
- "Σ"(Σ)
- "€"()
- "½"(½)