filmov
tv
HTML Entities(HTML and CSS Tutorial 28)

Показать описание
HTML entities are special codes used in HTML and CSS to represent characters that might not have a direct keyboard input or might need to be displayed as code rather than rendered content. HTML entities are used to display characters like special symbols, mathematical symbols, accented characters, and more.
HTML entities are composed of an ampersand (&), followed by a code (usually alphanumeric), and ending with a semicolon (;). The general format is &entity_code;.
Here are a few examples of commonly used HTML entities:
& - Represents the ampersand symbol (&). This is necessary to avoid confusion with the start of an entity.
< - Represents the less-than symbol (), which is used for opening HTML tags.
> - Represents the greater-than symbol (), used for closing HTML tags.
" - Represents a double quotation mark (").
' - Represents a single quotation mark ('). (Note: This entity is not as commonly used as ".)
- Represents a non-breaking space, which prevents whitespace from collapsing in HTML.
© - Represents the copyright symbol (©).
® - Represents the registered trademark symbol (®).
♥ - Represents a heart symbol (♥).
link w3School :
HTML entities are composed of an ampersand (&), followed by a code (usually alphanumeric), and ending with a semicolon (;). The general format is &entity_code;.
Here are a few examples of commonly used HTML entities:
& - Represents the ampersand symbol (&). This is necessary to avoid confusion with the start of an entity.
< - Represents the less-than symbol (), which is used for opening HTML tags.
> - Represents the greater-than symbol (), used for closing HTML tags.
" - Represents a double quotation mark (").
' - Represents a single quotation mark ('). (Note: This entity is not as commonly used as ".)
- Represents a non-breaking space, which prevents whitespace from collapsing in HTML.
© - Represents the copyright symbol (©).
® - Represents the registered trademark symbol (®).
♥ - Represents a heart symbol (♥).
link w3School :