HTML Entities

  • HTML entities are special character codes used to represent reserved characters and symbols in HTML.
  • If you use < or> sign so may be borwser will treat them as aa tag.
  • These entities are used to ensure proper rendering.
  • HTML entities start with an “&” and ends with a semicolon “;”
HTML Entities syntax

No Need to worry. Itni saari entities kisi ko yaad nahi hoti. Whenever you want to use just google it ๐Ÿ˜€๐Ÿ˜๐Ÿ˜Š.

Example:

audio-example

Output:

Here is register mark ยฎ

๐Ÿš€ Try it yourself! Click the button below to run the code and see the output in action.

HTML Code

Output

Commonly Used HTML Entities in Special Characters

Entity Description Code
< less-than sign &#60;
> greater-than sign &#62;
& ampersand &#38;
" double quotation mark &#34;
' single quotation mark &#39;
  non-breaking space &#160;
© copyright symbol &#169;
® registered trademark &#174;
trademark symbol &#8482;
° degree symbol &#176;
µ micro symbol &#181;
£ pound sterling &#163;
euro symbol &#8364;
¥ yen symbol &#165;
¢ cent symbol &#162;
$ dollar sign &#36;
checkmark symbol &#10003;
cross mark symbol &#10007;
§ section symbol &#167;
paragraph symbol &#182;

Important Note: Want to download the full HTML course as a PDF? Click here to save it locally!

Leave a Comment