Difference between revisions of "HTML entity"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to: navigation, search
(some more stuff)
m (Overview: quotes around format)
Line 1: Line 1:
 
==Overview==
 
==Overview==
[[category:computing terminology]]An [[HTML entity]] is a combination of characters which will be displayed within an [[HTML]] browser as a single character. All HTML entities begin with "&amp;" (ampersand) and end with ";" (semicolon). Many entities have mnemonic names (such as "&amp;amp;", which displays an ampersand); any possible character can be displayed as an entity by using the format &amp;#<u>number</u>; where <u>number</u> is the output character's [[ASCII]] value in decimal.
+
[[category:computing terminology]]An [[HTML entity]] is a combination of characters which will be displayed within an [[HTML]] browser as a single character. All HTML entities begin with "&amp;" (ampersand) and end with ";" (semicolon). Many entities have mnemonic names (such as "&amp;amp;", which displays an ampersand); any possible character can be displayed as an entity by using the format "&amp;#<u>number</u>;" where <u>number</u> is the output character's [[ASCII]] value in decimal.
 +
 
 
==Reference==
 
==Reference==
 
* {{wikipedia|Character entity reference}}
 
* {{wikipedia|Character entity reference}}
 
* [http://htmlhelp.com/reference/html40/entities/ HTML 4.0 entities]
 
* [http://htmlhelp.com/reference/html40/entities/ HTML 4.0 entities]

Revision as of 20:47, 13 December 2006

Overview

An HTML entity is a combination of characters which will be displayed within an HTML browser as a single character. All HTML entities begin with "&" (ampersand) and end with ";" (semicolon). Many entities have mnemonic names (such as "&amp;", which displays an ampersand); any possible character can be displayed as an entity by using the format "&#number;" where number is the output character's ASCII value in decimal.

Reference