HTML Character Entities
The reserved characters in HTML must be replaced with character entities.
Some characters not found on the keyboard can also be replaced by character entities.
In HTML, certain characters are reserved.
You cannot use the less than sign (<) and greater than sign (>) in HTML, because the browser will mistake them for tags.
If we want to display reserved characters correctly, we must use character entities in the HTML source code. The character entity looks like this:
&entity_name; or &#entity_number;
To display the less than sign, we must write: < or < or <
Tip: The advantage of using physical names instead of numbers is that the names are easy to remember. But the disadvantage is that the browser may not support all entity names (the support for entity numbers is good).
A common character entity in HTML is non-breaking space ( ).
The browser always shortens the spaces in the HTML page. If you write 10 spaces in the text, the browser will delete 9 of them before displaying the page. To increase the number of spaces on the page, you need to use character entities.
Combine phonetic symbols
The pronunciation symbol is a “glyph” added to the letter.
Some diacritics, such as acute accent (̀) and grave accent (́).
The diacritics can appear above and below the letter, or inside the letter, or between two letters.
The diacritics can be used in combination with letters and numbers.
Here are some examples:
HTML character entities
|Show results||description||Entity name||Entity number|
|<||Less than sign||<||<|
|‘||apostrophe||‘ (IE does not support)||‘|
Although html is not case sensitive, physical characters are case sensitive.
View the complete HTML entity of this site: please click HTML entity reference manual .