Entities

HTML

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
&&amp;Ampersand
¢&cent;Cent
£&pound;Pound
¥&yen;Yen
&euro;Euro
§&sect;Section
©&copy;Copyright
®&reg;Registered trademark
&trade;Trademark
°&deg;Degree(s)
±&plusmn;Plus or minus
¼&frac14;¼ Fraction
&frac13;⅓ Fraction
½&frac12;½ Fraction




Entities example

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