• Home
  • LLMs
  • Python
  • Docker
  • Kubernetes
  • Java
  • Ubuntu
  • Maven
  • Archived
  • About
HTML | Escaping special characters
  1. HTML Forms
  2. Some special characters codes
  1. HTML Forms
    Some characters can not be typed on a keyboard or can not be displayed properly (because of encoding problems).

    These characters can be referenced by using special codes:
    The code always begins with an ampersand (&) and ends with a semicolon (;).

    There are three different ways to specify these characters:
    • You can use a mnemonic code; such as (©) for the copyright symbol (©).
    • You can use the character's decimal value; such as (©) for the copyright symbol (©).
    • You can use the character's hexadecimal value; such as (©) for the copyright symbol (©).

    Note: if you use the decimal/hexadecimal method to specify an entity, you need to prefix the decimal/hexadecimal value with the "pound" character (#).

    Some examples of valid entities:
    • [ ]: a non-breaking space or blank space.
    • [&lt;]: the less-than symbol or left-angle bracket (<).
    • [&gt;]: the greater-than symbol or right-angle bracket (>).
    • [&amp;]: an ampersand (&).
  2. Some special characters codes
    Character Decimal Code
    À &#192;
    à &#224;
    Â &#194;
    â &#226;
    Æ &#198;
    æ &#230;
    Ç &#199;
    ç &#231;
    È &#200;
    è &#232;
    É &#201;
    é &#233;
    Ê &#202;
    ê &#234;
    Ë &#203;
    ë &#235;
    Î &#206;
    î &#238;
    Ï &#207;
    ï &#239;
    Ô &#212;
    ô &#244;
    Œ &#140;
    œ &#156;
    Ù &#217;
    ù &#249;
    Û &#219;
    û &#251;
    Ü &#220;
    ü &#252;
    « &#171;
    » &#187;
    € &#128;
© 2025  mtitek