Text Lesson 13 of 42
HTML Symbols, Emojis and Character Sets (UTF-8)
Add the peso sign, arrows, math symbols and emojis to your pages, and learn why UTF-8 makes ñ, é and 😀 work on every device.
A sari-sari store price list needs the peso sign (₱). A science report needs °C and ±. A friendly class page might use emojis 🎉. This lesson shows you how to add all of these safely, and explains the one line in your page that makes it all work: the character set.
What is a character set?
Computers only store numbers. Every letter, digit, symbol and emoji you see on screen is really a number that the computer translates into a picture of that character. A character set (also called an encoding) is the list that says which number means which character.
Long ago, different countries used different lists, so a page written in one language often showed up as strange symbols (like ñ instead of ñ) on another computer. Today almost every website uses one list for all the world's writing: UTF-8. It covers English, Filipino, Baybayin, Japanese, Arabic, math symbols and thousands of emojis.
You tell the browser to use UTF-8 with this line in the <head>:
<meta charset="utf-8">
Put it as the very first thing inside <head>, before the <title>. The browser needs to know how to read the page before it reads anything else.
Three ways to add a symbol
With UTF-8, you have three ways to put a symbol on the page:
- Type or paste it directly:
₱,ñ,😀. This is the easiest way, and it works fine with UTF-8. - Use a named entity:
©for ©,°for °. Easy to remember, but not every symbol has a name. - Use a number code:
₱for ₱, or the hexadecimal form₱. Every character has a number, so this always works.
<p>Typed directly: ₱ 25.00</p>
<p>Decimal number code: ₱ 25.00</p>
<p>Hexadecimal number code: ₱ 25.00</p>
<p>Named entity for copyright: © 2026 Grade 10 – Rizal</p>
Useful symbols for school and business
<table border="1" cellpadding="6">
<tr><th>Symbol</th><th>Name</th><th>Code</th></tr>
<tr><td>₱</td><td>Philippine peso</td><td>&#8369;</td></tr>
<tr><td>°</td><td>Degree</td><td>&deg;</td></tr>
<tr><td>±</td><td>Plus or minus</td><td>&plusmn;</td></tr>
<tr><td>×</td><td>Multiply</td><td>&times;</td></tr>
<tr><td>÷</td><td>Divide</td><td>&divide;</td></tr>
<tr><td>≤ ≥</td><td>Less / greater than or equal</td><td>&le; &ge;</td></tr>
<tr><td>→ ←</td><td>Arrows</td><td>&rarr; &larr;</td></tr>
<tr><td>✓</td><td>Check mark</td><td>&#10003;</td></tr>
<tr><td>½</td><td>One half</td><td>&frac12;</td></tr>
</table>
Here they are in a real page — a weather report for your barangay bulletin:
<h3>Panahon ngayong Lunes</h3>
<p>Temperature: 32°C (feels like 38°C)</p>
<p>Chance of rain: 60% → bring an umbrella ☔</p>
<p>Rice price: ₱48 – ₱55 per kilo</p>
Emojis
Emojis are characters too, just like letters. With UTF-8 you can paste them right into your HTML.
<h2>📢 Class Announcement</h2>
<ul>
<li>📅 Quiz on Friday — study Lessons 1 to 5</li>
<li>💻 Bring a USB flash drive for the lab</li>
<li>🍽️ Recess is 15 minutes only</li>
<li>✅ Project submitted? Good job! 👏</li>
</ul>
You can also write an emoji with its number code. For example, 😀 is 😀, and 🇵🇭 is actually two special letter characters (P and H) placed side by side, which phones combine into the flag.
Make emojis bigger
Because emojis behave like text, you change their size with font-size, the same way you size letters:
<p style="font-size: 16px;">Normal: 🥭</p>
<p style="font-size: 48px;">Big: 🥭</p>
Filipino and other languages
UTF-8 handles the letters used in Filipino and Philippine languages, including ñ and the accented letters some dictionaries use (á, à, â). It even supports Baybayin, the old Filipino script, which has its own block of characters in Unicode:
<p style="font-size: 28px;">ᜋᜊᜓᜑᜌ᜔</p>
<p>(This is "mabuhay" in Baybayin. Some older phones may need a Baybayin font to display it.)</p>
Unicode, UTF-8 — what's the difference?
Unicode is the giant list that gives every character in the world its own number (₱ is number 8369). UTF-8 is the most common way of saving those numbers inside a file. For your web pages, you only need to remember: write <meta charset="utf-8"> and save your files as UTF-8.
Quick Quiz
Check what you learned. Walang grade ito, practice lang. 🙂
By Sir Reyel · Last updated 2026-12-04