HTML ENTITIES LIST
An HTML entities list is a piece of string (text) used to display reserved characters in HTML. Using the HTML entity, you can add symbols, complex geometric shapes, mathematical operators, and even assign icons.
An HTML entity can be referenced by name or a numerical character. It begins with an ampersand (&) and ends with a semicolon (;).
- Using a character entity
- Using number
CHARACTER IN HTML ENTITIES LIST
It is important to note that entity names are easier to remember than their entity numbers. The most commonly used entity is the greater than and lesser than signs, which can be represented by either their entity name or entity number.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>HTML ENTITIES</title> </head> <body> <div id = "character"> </body> </html>
These are some character entities examples used in HTML5.
- HTML CHARACTER ENTITIES
Below are the entity codes for the most used entities
Click here for CSS