Post

Using Emoji's ๐Ÿ˜€ in HTML

How to make your articles more readable and engaging using Emoji's?

Using Emoji's ๐Ÿ˜€ in HTML

Emojiโ€™s ๐Ÿ˜† in HTML

  • There are mainly two ways to display emojis on your web page, but first:

HTML charset

  • To show the correct symbols, inform the web browser of the character set used on your page.
  • Although the UFT-8 is the default character set, itโ€™s better to declare it explicitly to ensure the correct information is displayed.
  • So, in the HTML <head> tags, put:
1
<meta charset="UTF-8>
  1. First mode: using the emoji Unicode
  • First, go to this Unicode site page with the full emoji list.
  • Find the emoji that you want to use.
  • For example, Iโ€™ll choose the smiley upside-down face with the code U+1F643.

HTML Emoji Unicode

  • Now replace the U+ for &#x, adding and ; at the end, and put it on your HTML code:
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Lorem Ipsum</title>
  </head>
  <body> 
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    <p>&#x1F643;</p>
  </body>
</html>
  • And the result will be: Page example

HTML Emoji Unicode result

2. Second mode: Copy and Paste (Everyoneโ€™s Favorite)

  • You can copy and paste the emoji. Your code will be:
1
2
3
4
5
6
7
8
9
10
11
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Lorem Ipsum</title>
  </head>
  <body> 
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    <p>๐Ÿ™ƒ</p>
  </body>
</html>
  • And you will have the same result.

Emojis by Category

Faces

๐Ÿ˜€ ๐Ÿ˜€ ๐Ÿคฃ ๐Ÿซ  ๐Ÿ™ƒ ๐Ÿ˜‡ ๐Ÿ˜Š ๐Ÿ˜ ๐Ÿคฉ ๐Ÿ˜˜ ๐Ÿ˜˜ ๐Ÿค‘ ๐Ÿ˜ฐ ๐Ÿ˜ก ๐Ÿ˜ญ ๐Ÿ˜ด ๐Ÿง”โ€โ™‚๏ธ ๐Ÿ‡ฎ๐Ÿ‡ณ ๐Ÿคทโ€โ™‚๏ธ ๐Ÿคฆโ€โ™‚๏ธ๐Ÿ‘๐Ÿ‘Ž ๐Ÿ‘† ๐Ÿซต ๐Ÿค™๐Ÿ‘Š โœŒ ๐Ÿ‘Œ ๐Ÿ’ฏ ๐Ÿ’ฅ ๐Ÿ‘ฝ ๐Ÿ’€ ๐Ÿค–

Daily

โœ… โŒ โ—โ“โžก โ›” โš  ๐Ÿ”— โš™ ๐Ÿ“Œ ๐Ÿ“‰ ๐Ÿ“ˆ ๐Ÿ“… ๐Ÿ“ ๐Ÿ’ผ ๐Ÿ“ โœ’ โœ‰ ๐Ÿ’ฐ ๐ŸŒ  โญ ๐Ÿ•– ๐Ÿš€ โš“ ๐Ÿš— ๐Ÿก ๐ŸŒ ๐Ÿป ๐ŸŽ‚ ๐Ÿ’ ๐Ÿž ๐ŸŒ ๐Ÿ‹ ๐Ÿ‘ค ๐Ÿšด ๐Ÿ•บ ๐Ÿ’ƒ ๐Ÿšถ ๐Ÿ•ต๐Ÿฟโ€โ™‚๏ธ ๐Ÿ”œ ๐Ÿ’พ ๐Ÿ’ณ ๐Ÿ”Ž โ–ถ ๐Ÿ› 

Animals

๐Ÿฆ– ๐Ÿฆข ๐Ÿ“ ๐Ÿ› ๐Ÿง ๐Ÿž๐Ÿณ ๐Ÿ

Numbers

#๏ธโƒฃ *๏ธโƒฃ 0๏ธโƒฃ 1๏ธโƒฃ 2๏ธโƒฃ 3๏ธโƒฃ 4๏ธโƒฃ 5๏ธโƒฃ 6๏ธโƒฃ 7๏ธโƒฃ 8๏ธโƒฃ 9๏ธโƒฃ ๐Ÿ”Ÿ

Technology

๐Ÿ›œ ๐Ÿ“ด ๐Ÿ”† ๐ŸŽฆ โฏ โ˜ธ๏ธ โ˜ธ ๐Ÿณ ๐Ÿ–ง ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป ๐Ÿ”„ โ™พ๏ธ ๐Ÿ›ก๏ธ ๐Ÿ”Ž

Good luck with your html emotions !!!

This post is licensed under CC BY 4.0 by the author.