HTML Examples

Html Entities

An "entity" is a fancy term for a symbol. Some characters are reserved in Html. It is not possible to use the less than (<) or greater than (>) signs in text, because the browser will mix them with tags. Several symbols, such as copyright, trademark, or foreign cash symbols are not exist on standard keyboards. To actually display reserved characters, we must use character entities in the Html source code.

Html Basic Character Entities

Result Result Description
 &nbsp;Non-breaking space
<&lt;Less than
>&gt;Greater than
®&reg;Registered trademark
±&plusmn;Plus or minus
¼&frac14;¼ Fraction
&frac13;⅓ Fraction
½&frac12;½ Fraction

Entities example

<p> &amp; &frac12; &copy; &sect; </p>