Definition:

An HTML symbol is a special character or a sequence of characters that has a specific meaning or function within an HTML document. It is used to represent various elements, entities, or actions on a web page.

Markup Formatting:

HTML provides several ways to include symbols within the content of a web page:

1. Character Entities:

Character entities are special codes that begin with an ampersand (&) and end with a semicolon (;). They allow you to display symbols that cannot be directly included in HTML, such as the less than (<) or greater than (>) signs.

2. HTML Entities:

HTML entities are predefined symbols that can be used directly in HTML, such as copyright (©), trademark (™), or registered (®) symbols. These entities are represented by their respective entity names or numeric codes.

3. Unicode Characters:

Unicode characters represent an extensive set of symbols and characters from various writing systems. You can include Unicode characters in HTML by using their hexadecimal or decimal representation, preceded by the ampersand (&) and the hash (#) sign.

4. Font Icons:

Font icons are special fonts that include various symbols and icons as individual characters. These icons can be displayed by assigning the appropriate CSS class to an HTML element and utilizing a font icon library like Font Awesome or Material Icons.