Writing any Unicode (UTF-8) character in HTML
=============================================
The browser interprets given HTML Codes for Unicode characters and displays them.
You may use either the
* entity name
* hex code
* decimal code
.. note::
Emojis have an CLDR short name. This **does not** serve as entity name for
HTML. It is used by applications (e.g. messenger) as a way to enter emojis,
but cannot be interpreted by browser:
You need to use either the hex or the decimal code for emojis.
| Entity names for Unicode characters: https://html.spec.whatwg.org/multipage/named-characters.html.
| Unicode hex & decimal codes (incl. emojis): https://symbl.cc/en/unicode-table/
**HTML Syntax**
+--------------+------------+
| Type | Form |
+==============+============+
| Entity name | &; |
+--------------+------------+
| Decimal code | ; |
+--------------+------------+
| Hex code | ; |
+--------------+------------+
**Example**
.. code-block:: html
Using entity name:
×
Using decimal code:
😀
Using hex code:
😀
is interpreted as:
.. raw:: html
Using entity name:
×
Using decimal code:
😀
Using hex code:
😀