HTML Entities
Reserved characters in HTML must be replaced with character entities.
Character entities are used to display reserved characters in HTML.
&entity_name;
OR
entity_number;
To display a less than sign (<) we must write: < or <
HTML Character Entities
non-breaking space
 
<
less than
<
<
less than
<
<
>
greater than
>
>
greater than
>
>
&
ampersand
&
&
ampersand
&
&
"
double quotation mark
"
"
double quotation mark
"
"
'
single quotation mark (apostrophe)
'
'
single quotation mark (apostrophe)
'
'
¢
cent
¢
¢
cent
¢
¢
£
pound
£
£
pound
£
£
¥
yen
¥
¥
yen
¥
¥
€
euro
€
€
euro
€
€
©
copyright
©
©
copyright
©
©
®
registered trademark
®
®
registered trademark
®
®