A diacritical mark is a "glyph" added to a letter. Some diacritical marks, like grave ( ̀ ) and acute ( ́ ) are called accents. Diacritical marks can appear both above and below a letter, inside a letter, or between two letters. They can be used in combination with alphanumeric characters, to produce a character that is not present in the character set (encoding) used in the HTML document.
To construct a diacritical mark with a character, you need to first type the character, then add the entity for the diacritical mark. For example:
Mark | Character | Entity Construction | Result |
---|---|---|---|
̀ | a | à | à |
́ | u | ú | ú |
̂ | i | î | î |
̃ | n | ñ | ñ |
̀ | E | È | È |
́ | Y | Ý | Ý |
̂ | O | Ô | Ô |
̃ | A | Ã | Ã |
The purpose of entities are starting to make sense now!