DEV Community

Cover image for Html Entities ๐Ÿ˜„๐Ÿ˜๐Ÿ’—๐ŸŒบ
Jonathan Felicity
Jonathan Felicity

Posted on

Html Entities ๐Ÿ˜„๐Ÿ˜๐Ÿ’—๐ŸŒบ

An HTML entity is a piece of text ("string") that begins with an ampersand ( & ) and ends with a semicolon ( ; ) . Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code), and invisible characters (like non-breaking spaces).
HTML entities give different varieties of characters which helps to assign icons, mathematical operators and even geometric complex shapes.

EXAMPLES

Currency Symbol:

<ul>
<li>&#8358;</li>
<li>&#8364;</li>
<li>&#163;</li>
<li>&#165;</li>
<li>&#8486;</li>
</ul>
Enter fullscreen mode Exit fullscreen mode

Results:
-โ‚ฆ
-โ‚ฌ
-ยฃ
-ยฅ
-โ„ฆ

Some Cool emojis:

<ul>
<li>&#128525;</li>
<li>&#128677;</li>
<li>&#129505;</li>
<li>&#128540;</li>
<li>&#129334;</li>
</ul>
Enter fullscreen mode Exit fullscreen mode

Results:
-๐Ÿ˜
-๐Ÿšฅ
-๐Ÿงก
-๐Ÿ˜œ
-๐Ÿคถ

important link:

Read More

Top comments (0)