SOLTECH WEB DEVELOPMENT || HTML5 || Using Emojis in HTML || TUTORIAL-019

Published: 19 November 2024
on channel: SOLTECH
29
1

SOLTECH WEB DEVELOPMENT || HTML5 || Using Emojis in HTML || TUTORIAL-019

Emojis are characters from the UTF-8 character set: 😄 😍 💗

What are Emojis?
Emojis look like images or icons, but they are not.

They are letters (characters) from the UTF-8 (Unicode) character set.

UTF-8 covers almost all of the characters and symbols in the world.

The HTML charset Attribute
To display an HTML page correctly, a web browser must know the character set used in the page.

This is specified in the meta tag:

meta charset="UTF-8"
If not specified, UTF-8 is the default character set in HTML.

UTF-8 Characters
Many UTF-8 characters cannot be typed on a keyboard, but they can always be displayed using numbers (called entity numbers):

A is 65
B is 66
C is 67
The meta charset="UTF-8" element defines the character set.

The characters A, B, and C, are displayed by the numbers 65, 66, and 67.

To let the browser understand that you are displaying a character, you must start the entity number with &# and end it with ; (semicolon).
Emoji Characters
Emojis are also characters from the UTF-8 alphabet:

😄 is 128516
😍 is 128525
💗 is 128151

Since Emojis are characters, they can be copied, displayed, and sized just like any other character in HTML.

Some Emoji Symbols in UTF-8
Emoji Value Try it
🗻 🗻
🗼 🗼
🗽 🗽
🗾 🗾
🗿 🗿
😀 😀
😁 😁
😂 😂
😃 😃
😄 😄
😅 😅


On this page of the site you can watch the video online SOLTECH WEB DEVELOPMENT || HTML5 || Using Emojis in HTML || TUTORIAL-019 with a duration of hours minute second in good quality, which was uploaded by the user SOLTECH 19 November 2024, share the link with friends and acquaintances, this video has already been watched 29 times on youtube and it was liked by 1 viewers. Enjoy your viewing!