HTML ENTITIES
There are some characters which are part of the syntax of any HTML element and have special meaning in an HTML document.
If you try to use a larger than (>) or smaller than (<) symbol in an HTML document then HTML will try to take out the meaning of these symbols and will mix up tags.
Example:
Example
Some useful entity in HTML Document
Symbol | Entity | Number | Description |
---|---|---|---|
! | ! | Exclamation mark | |
" | " | Quotation mark | |
& | & | & | Ampersand |
' | ' | Apostrophe | |
( | ( | Left parenthesis | |
) | ) | Right parenthesis | |
, | , | Comma | |
- | - | Hiphaen | |
. | . | Dot | |
/ | / | Slash | |
: | : | Colon | |
; | ; | Semicolon | |
< | < | < | Greater-than |
= | = | Equal to | |
> | > | > | Smaller-than |
? | ? | Question mark | |
@ | @ | At mark | |
[ | [ | Left square bracket | |
\ | \ | Backslash | |
] | ] | Right square bracket | |
{ | { | Left curly brace | |
| | | | Verticle bar | |
} | } | Right curly brace |