38-HTML Entities

0
452

This tutorial is all about HTML Entities.
In HTML, “entity” is a term for symbols such as trademark, copyright,  or foreign cash that exist on the standard keyboard.  On the other hand, to display these characters, you will be using different methods.

 

There are three parts for every entity, each begins with an ampersand  , then the entities name copy and finally a semicolon  ; .

 

Example of  Copyright:

 ©  =  ©      -> Copyright symbol.

Take Note that problem will occur when you forgot to include all three parts of entities.

 

List of Entities:

¢ Cent ¢ ¢
£ English Pound £ £
¤ Currency ¤ ¤
¥ Yen ¥ ¥
® Registered Trademark ® ®
° Degree(s) ° °
± Plus or Minus ± ±
¼ ¼ Fraction ¼ ¼
½ ½ Fraction ½ ½
¾ ¾ Fraction ¾ ¾

 

 

Example:

 

Result:

Body tag = <body>
Greater than = >
Less than = <

 

Readers might read also:

 

Facebook Comments

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.