0% found this document useful (0 votes)
19 views3 pages

html entities

HTML entities are used to display invisible and reserved characters in HTML that would otherwise be interpreted as code. They begin with an ampersand and end with a semicolon, allowing for the inclusion of characters like <, >, and &. While not always necessary if Unicode is supported, they can be useful when editors or keyboards do not support certain characters.

Uploaded by

nalumansitheresa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views3 pages

html entities

HTML entities are used to display invisible and reserved characters in HTML that would otherwise be interpreted as code. They begin with an ampersand and end with a semicolon, allowing for the inclusion of characters like <, >, and &. While not always necessary if Unicode is supported, they can be useful when editors or keyboards do not support certain characters.

Uploaded by

nalumansitheresa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

INTRODUCTION TO WEB DESIGN

DCIS1204
SEMISTER TWO
YEAR ONE
HTML - Entities

An HTML entity is used to display invisible characters and reserved characters that would
otherwise be interpreted as HTML code. It is a piece of text, or string, that begins with an
ampersand (&) and ends with a semicolon (;).
Some characters are reserved in HTML and they have special meaning when used in HTML
document. For example, you cannot use the greater than and less than signs or angle brackets
within your HTML text because the browser will treat them differently and will try to draw a
meaning related to HTML tag.
When to use HTML entities?
Generally, you don’t need to use HTML entities if your editor supports Unicode. For some
instances, entities can be useful:
 Your editor does not support Unicode.
 Your keyboard does not support the character you would like to type, such as em-dash or the
copyright symbol.
 You want specific HTML-specific characters like <, &, or ".
HTML - Entities

You might also like