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)