0% found this document useful (0 votes)
14 views

Unicode Characters UTF-8 Lyst2441

Uploaded by

vishnu damuluri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Unicode Characters UTF-8 Lyst2441

Uploaded by

vishnu damuluri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Unicode characters (UTF-8)

Full stack development - Unschool.in

The symbol ​★​ used in the video is a Unicode character.

How to use these characters in HTML?


There are multiple ways to use these symbols in HTML. Here are the two popular ways.

1. Copy/Paste (What I did in the video):


​ nd paste it in the code. Most modern IDEs can
The easiest way is to copy this symbol ​★ a
deal with this.

2. Using the Hexadecimal value:


Each Unicode character has a unique hex value that you can use to add these
characters/symbols in your HTML.

For example, the hex value of ​★ i​ s 2605. So to use this symbol in the HTML file, we can
do the following.

♠

Paste the above string in your HTML file and see the outcome. The syntax is
&#x​{hexadecimal}​;

There are tens of thousands of other characters that are encoded using Unicode. Check the
following links for more details.

Wikipedia:​ ​https://en.wikipedia.org/wiki/List_of_Unicode_characters
W3Schools:​ ​https://www.w3schools.com/charsets/ref_utf_misc_symbols.asp

You might also like