The basic HTML character entities

In HTML reserved characters must be replaced with character entities.
Some characters not found on the keyboard can also be used to replace the use of character entities.
If you want to correctly display reserved characters, we must use the character entity (character entities) in the HTML source code. Character entity like this:

 &entity_name; 
or
 &#entity_number; 

Note :

  • The advantage of using an entity name rather than numbers is the name easy to remember. But the downside is, the browser may not support all entity names (support for entity numbers is very good).
  • Entity name is case sensitive

View full HTML entity symbol .

Published 25 original articles · won praise 19 · views 673

Guess you like

Origin blog.csdn.net/devin_xin/article/details/105014211
Recommended