Character encodings in HTML: Difference between revisions

Content deleted Content added
quotes
Many symbolic character entities have been defined.
Line 25:
<h2>Character Entity References</h2>
 
In addition to native character encodings, characters can also be encoded as '''HTML entities''', using the encoding format derived from the use of character entities in [[SGML]].

Many symbolic character entities have been defined. For example, the character '&lambda;' can be encoded as <code>&amp;lambda;</code>. This use of the '&' character as an [[escape code]] for character entities means that literal '&' characters in HTML need to be encoded as an entity themselves, as <code>&amp;amp;</code>. Similar escapes are required for the '<' and '>' characters, encoded as <code>&amp;lt;</code> and <code>&amp;gt;</code> respectively.
 
Decimal and hexadecimal HTML entities can also be used, based on the [[Unicode]] numeric code for the character encoded.
 
''to be continued...''