HTML entities

HTML entities

Today I learned about the HTML entities. So as we know we use tags in elements for ex - <h1> and (<,>) are reserved in HTML for specific purpose, What if we need to display 5>6 in our website in that situation we use entities. Entities display special characters or reserved word with out any error .

Syntax for Htnl entities

< -> less then <

> -> greater then >

© -> copyright sign ©

These are called entities in HTML

For example

•••

<html>

.............

...............

<body>

<p> © 2023-2026. All rights reserved</p>

</body>

</html>

OUTPUT

© 2023-2026.All rights reserved