What are the HTML character entities?
This article mainly introduces "what are the HTML character entities". In the daily operation, I believe many people have doubts about the HTML character entities. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what are the HTML character entities?" Next, please follow the editor to study!
The less than sign () cannot be used in HTML because browsers mistook them for tags.
If we want to display reserved characters correctly, we must use character entities (character entities) in the HTML source code.
Character entities look like this:
one
two
three
four
five
& entity_name
Or
& # entity_number
To display the less than sign, we must write: < or