Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the commonly used character entities in HTML

Shulou Source: shulou.com Published: 2022-06-01 13:13:27 10月01日 Update

Xiaobian to share with you what is the commonly used character entity in HTML, I believe most people still do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

HTML character entity

In HTML, certain characters are reserved and must be replaced with character entities.

Less than signs () cannot be used in HTML because browsers mistake them for tags.

Character entities must be used in HTML source code if you want reserved characters to be displayed correctly.

Character entities look like this: "&entity_name;" or "&#entity_number;."

For example, if you want to display less than (

Tags: Entity name character space browser browsing commonly used article page content trademark not much multiplication sign most for uppercase lowercase small section quotation mark number quantity Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information macOS MariaDB vpn Docker