Search notes:

HTML character entities

A HTML entity starts with an ampersand (&) and ends with a semicolon (;).
The portion between the ampersand is either a
In case of a code point, code point number follows a pound sign (#) which follows the ampersand:
For some code points, there is also a mnemonic (such as &). With mnemonics, the ampersand is not followed by a pound sign.

&, < and >

Some characters in HTML have a special meaning and must be encoded to preserve their meaining, notably:
The < is represented (or encoded) with a &lt;, the > with a &gt; and the & with a &amp;.

Some interesting mnemonics

Some interesting entity mnemonics, imho, include:
&xuml; Umlaute (&auml = ä, etc)
&xgrave; Gravis
&xcirc; Circumflex
&xscr; Script
&xrc; Fractur, (&Sfr; = 𝔖, &zfr; = 𝔷)
&fracxy; Fractionals (&frac34; = ¾, etc)
&xopf; Double struck mathematical letters. (&Aopf; = 𝔸 etc)
&xcy; Cyrillic (&Lcy; = Л, &bcy;` = б, etc)
&rho; Greek, unline for cyrillic, the name of the letter is written out.
&shy; The soft hyphen: it inserts a hyphen and breaks the line, if necessary. See the <wbr> HTML element for a demonstration.
&nbsp; A non-breaking space. There is no mnemonic for a *non-breaking hyphen*; it can be inserted with &#8209; or &#x2011;.

See also

HTML entities (such as &amp, &eacute etc.).
Perl module HTML::Entities
Character Entity Reference Chart
The PHP function htmlspecialchars() returns the entity for a character.
Unicode Characters with named HTML entities in my UCD tool.

Links

Named character reference

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1788527609, '216.73.217.21', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/HTML/entities/index(96): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78