Table of Contents

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:

<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: