ASWCode Tutorials

Learn Web Development - From Basics to Advanced

HTML Entities

HTML entities are used to display special characters that HTML would normally treat as code. For example, < or &.

1. Reserved Characters

Some characters like < and > are used in HTML code. To show them on the page, we use entities:

<p>This is a paragraph</p>

2. Common HTML Entities

Character Entity Name Entity Number
<&lt;<
>&gt;>
&&amp;&
"&quot;"
©&copy;©
®&reg;®
&trade;

3. Example in Paragraph

Use &lt;h1&gt; for headings & &copy; 2025 ASWCode.

4. Why Use HTML Entities?

Next Lesson → HTML Symbols

Previous Lesson → HTML Semantic Elements

← Back