## What a HTML entity is

HTML entities refer to specific HTML codes that are used to
create platform independent characters. Such characters include
escaped**Escaped**An escaped character is one which prevents the
invoking of a command but represents an actual string character. characters such as & and ". These
characters are used in special ways on the web such as in URLs for
instance: test.co.uk/?a=1&b=1.

These characters can also be used in HTML documents such as this one to represent specialised characters, for instance, such as mathematical symbols such as some formal logic displayed below:

∀x, y : N | x < y • x ∈ COLLECTION ∧ x ∉ REALS

HTML is getting more equipped with characters such as those above. They may however not display in all browsers. There are some general every day and more useful characters such as the ampersand symbol (&) and the pound sign (£). Some characters can even be given special symbols above them such as a grave or acute such as this j character: j̀ or this q́.

## List of HTML entities

The table below shows a few of the entities that exist out there that can actually be very useful. The list is very broad as well.

Entity | Code | Name |
---|---|---|

& | & | Ampersand. This is an example of an escaped character because the ampersand is used to open a HTML entity. |

< | < | Less than. This is an example escaped character because in HTML the < > characters enclose a tag. |

> | > | Greater than. This is an example escaped character because in HTML the < > characters enclose a tag. |

≤ | ≤ | Less than or equal to. |

≥ | ≥ | Greater than or equal to. |

£ | £ | Pound sign |

¥ | ¥ | Japanese Yen sign |

© | © | Copyright symbol |

® | ® | Registered symbol |

™ | ™ | Trademark symbol |

∪ | ∪ | Cup or Union symbol |

∩ | ∩ | Cap or Intersection symbol |

∀ | ∀ | For all, the universal quantifier |

∃ | ∃ | There exists, existential quantifier |

ℵ | ℵ | Aleph naught. |

≡ | ≡ | Identically equal to |

Δ | Δ | Delta, representing a change in some variable (note the capital D because this is the capitalised version) |

Ξ | Ξ | Xi, representing a variable that remains constant (note the capital X because this is the capitalised version) |

∅ | ∅ | Empty, used for representing empty sets. |

√ | √ | Square root |

π | π | Pi |

⇒ | ⇒ | Right arrow, used for logical implication, A ⇒ B = ¬A ∨ B |

¬ | ¬ | Negation or not. Can be used to negate some Boolean logic. |

∧ | ∧ | Logical and, sometimes known as l-and. |

∨ | ∨ | Logical or, sometimes known as l-or. |

⊕ | ⊕ | XOR - exclusive or, true when only one of the values is true. A ⊕ B |

∑ | ∑ | The sum of n values. a_{1} + a_{2} + a_{3} + ... a_{n} |

∈ | ∈ | Is an element of. |

∉ | ∉ | Is not an element of. |

⊂ | ⊂ | Is a subset of. |

Ω | Ω | Omega |

∞ | ∞ | Infinity |

∫ | ∫ | An integral |

× | × | Multiplication |

÷ | ÷ | Division |

• | • | Bullet. Great for formal logic. |

⇔ | ⇔ | Logically equivelant. |

¶ | ¶ | Paragraph marker. |

ℜ | ℜ | The set of real numbers (such as 1.0, 1.1, 1.2...) |

θ | θ | Theta. |

And that's how HTML is used to store symbols.

## Alternative entities

HTML can represent others using hexadecimal such as the cube root symbol: ∛ and ∜. Mentioned above was the option of adding a grave or acute to a character. It was also done with hexadecimal. These are called hex entities. They are more expansive but more difficult to learn. Not only that, but they have no system of order and are also limited, for instance there is no cube root of 5 symbol.