HTML - How to show an Unicode Character in HTML

About

How to show a unicode character in HTML.

Example

Example with the grinning face emoji. This character has the unicode value:

  • 1F600 in hexadecimal
  • or 128512 in decimal
<p>In hexadecimal, I will write: &#x1F600; to show a grinning face</p>
<p>In decimal, I will write: &#128512; to show a grinning face</p>

Output:





Discover More
Javascript - Character

This article is the character representation and manipulation in Javascript (ie code point). They: are all unicode UTF-16 character are an element in a string starting at the index 0. may have...
What is XML / HTML Character Entity encoding ?

An Entity in html is a string that represents a unicode character. unicode character Encoding text in HTML means to transform: the text characters into HTML entities. Example with the 0260Ephone....



Share this page:
Follow us:
Task Runner