29 May 2023

HTML Entity

html entity
entity

T
Written by

thatonevikash

HTML Entity

Sometimes we use some special characters on a web page like angular brackets, copyright symbols, trademark symbols, etc.

But there is a problem with HTML we can't use angular brackets directly because HTML takes them as a tag, if we use opening and closing angular brackets together it will affect our code. To solve this bug we will use HTML Entity

It starts with Ampersand (&) and should be closed with a semi-colon (;),

List of HTML Entities

●   - Non-breaking space
● < - Less than angular bracket
● > - Greater than angular bracket
● © - Copyright
● & - Ampersand
● ; - SemiColon
● ® - Registered
● ™ - Trademark
● @ - At the rate
● ☆ - Holo Star
● ★ - Filled Star
● ☎ - Phone
● ♂ - Male
● ♀ - Female
● ♥ - Heart
● ♠ - Spade
● ♣ - Club
● ♦ - Diamond
● ♪ - Tune
● ✓ - Check
💡Tip

There are so many symbols in HTML we can use them to add # after &

Written with 💖 by thatonevikash!