Difference between revisions of "HTML entity"
Jump to navigation
Jump to search
(some more stuff) |
|||
Line 1: | Line 1: | ||
− | An [[HTML entity]] is a combination of characters which will be displayed within an [[HTML]] browser as a single character. | + | ==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 "&" (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 &#<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:46, 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 "&", 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.