What are HTML entities?

HTML entities are special codes used to show characters that have a special meaning in HTML, or that are not on the keyboard. They start with & and end with ;.

CodeShows
&lt;<
&gt;>
&amp;&
&nbsp;A non-breaking space
&copy;©
&euro;€

Without &lt; the browser would read <p> as a real tag. See HTML Symbols.


Learn more about the similar topics:
Tutorials
HTML Headings
HTML Paragraphs
HTML Styles
HTML Formatting
HTML Comments
HTML Symbols
Exercises & Assignments
Program to see difference between paragraphs & normal text with line break
Write a program to create a webpage to print values 1 to 5
Write a program to create a webpage to print your city name in red color.
Write a program to print a paragraph with different font and color.
Write an HTML program to display all six heading levels
Write an HTML program for text formatting (bold, italic, subscript, superscript)
Interview Questions & Answers
How to add comments in HTML?
How to add the copyright symbol to a web page?
What is the difference between strong and b tag in HTML?
What are HTML entities?
What is the difference between inline, internal and external CSS?