Text Lesson 12 of 42
HTML Entities and Symbols (₱, ©, < and More)
Learn how to show special characters in HTML using entities — the peso sign, copyright, less-than, non-breaking spaces, ñ and emoji.
What if you want to write the text <p> on your page, so readers can see the tag itself? If you type it directly, the browser thinks it's a real paragraph tag. And how do you type the peso sign (₱) if it's not on your keyboard? The answer to both is HTML entities.
What is an entity?
An entity is a short code that stands for a character. It starts with an ampersand & and ends with a semicolon ;. There are two kinds:
- Named entities, like
©for © - Numeric entities, like
₱for ₱ (the number is the character's code)
The "reserved" characters
A few characters have special meaning in HTML. To show them as normal text, you must use entities:
| Character | Entity | Why it's special |
|---|---|---|
| < | < | Starts a tag |
| > | > | Ends a tag |
| & | & | Starts an entity |
| " | " | Wraps attribute values |
<p>To make a paragraph, type <p> at the start and </p> at the end.</p>
<p>Tom & Jerry is a classic cartoon.</p>
<p>In math, 5 < 8 and 10 > 3.</p>
That's exactly how this website shows HTML code to you in every lesson!
Useful symbols for Filipino pages
| Symbol | Code | Name |
|---|---|---|
| ₱ | ₱ | Philippine peso |
| ñ / Ñ | ñ / Ñ | Enye (as in Parañaque, Señor) |
| © | © | Copyright |
| ® | ® | Registered trademark |
| ™ | ™ | Trademark |
| ° | ° | Degree (temperature) |
| × | × | Multiplication |
| ÷ | ÷ | Division |
| ½ | ½ | One half |
| → | → | Right arrow |
| • | • | Bullet |
| – | – | En dash (for ranges like 8–10) |
<h3>Kakanin Price List</h3>
<p>Bibingka → ₱45</p>
<p>Puto (½ dozen) → ₱30</p>
<p>Suman sa Lihiya × 3 → ₱50</p>
<p>Best served at 60°C • Order 8–10 AM</p>
<p><small>© 2026 Kakanin ni Aling Rosa, Parañaque</small></p>
Do you still need entities with UTF-8?
Good question! If your page has <meta charset="utf-8"> (and it should), you can type most symbols directly: ₱, ñ, ©, even emoji 🇵🇭. It works fine. Entities are still useful when:
- the character is a reserved one like
<or&, - you can't easily type the symbol on your keyboard,
- you want the code to show clearly which symbol is meant (like a non-breaking space, which looks the same as a normal space).
The non-breaking space
is a space that does two things: it doesn't collapse (you can use several in a row), and it prevents a line break between two words. Use it to keep things together that shouldn't be split across lines, like an amount and its unit.
<p>The bridge is 2.5 km long and the fare is ₱ 13.</p>
<p>Call us at 0917 123 4567.</p>
Emoji
Emoji are just characters too. With UTF-8, you can paste them straight into your HTML: 🎉 📚 🏀. You can also use numeric codes, like 🇵🇭 for the Philippine flag 🇵🇭 (it's made of two "regional indicator" letters, P and H). Use emoji sparingly — they look different on every device.
Quick Quiz
Check what you learned. Walang grade ito, practice lang. 🙂
By Sir Reyel · Last updated 2026-12-04