- Home
- /
- HTML Entities
HTML Tutorial
INTRODUCTION
HTML BASIC TAGS
INLINE & BLOCK ELEMENTS
HTML LISTS
HTML TABLES
HTML FORMS
HEAD ELEMENTS
HTML MEDIA
MISCELLANEOUS TAGS
- Home
- /
- HTML Entities
HTML Entities
HTML entities let you display characters that are reserved in HTML or not directly available on a keyboard. They ensure tour content appears exactly as intended.
What are HTML Entities?
An HTML entity is a piece of text that begins with &
and ends with ;
. It tells the browser to display a specific character.
< = <
> = >
Why Use HTML Entities?
- Reserved characters like
<
,>
, and&
can’t be typed directly in HTML. - Special Symbols such as
©
,™
,®
,etc. - Non-breaking spaces (
) to prevent line breaks in specific text.
Common HTML Entities
Entity | Output | Purpose |
---|---|---|
< | < | Less than sign |
> | > | Greater than sign |
& | & | Ampersand |
" | " | Double quotation mark |
' | ' | Apostrophe (single quote) |
| Non-breaking space | |
© | © | Copyright symbol |
® | ® | Registered trademark |
€ | € | Euro symbol |
™ | ™ | Trademark |
Usage Examples
Reserved Characters
10 < 20 and 20 > 10
Output: 10 < 20 and 20 > 10
Special Symbols
Copyright © 2025
Output: Copyright © 2025.
Non-Breaking Space
This text won’t break
Output: This text won’t break
Conclusion
HTML entities are essential for displaying reserved characters, invisible spacing, and special symbols. They keep your content clean, correct, and user-friendly.