Computer Lesson 5 HTML Character Entities
Computer Lesson 5 HTML Character Entities
TO 10
KAROL PAUL D.
SOTELO
LEARNING
OBJECTIVES
T O K N O W A N A LT E R N AT I V E
R E P R E S E N TAT I O N OF
SPECIAL CHARACTERS TO
HTML
SPECIAL
/ K A - R A K-T E R /
CHARACTER
/ E N -T I -T I S /
ENTITIES
SELECTION
In a browser, before
a HTML document is
shown, it is broken
down into details
using a Parser. A
parser is a program
that breaks down
code so that it will
be more
P R E S E N TAT I O N
W H AT I S O U R
LESSON FOR
T O D AY ?
HTML CHARACTER ENTITIES
KAROL PAUL D.
SOTELO
W H AT A R E
SPECIAL
CHARACTER
ENTITIES?
SPECIAL CHARACTER
ENTITIES
In order for the parser to
distinguish between the text
content of the HTML document
and the symbol for the tags,
certain characters need to be
assigned a special code.
Special character entities are
necessary for the proper
display of texts. A character
entity has three parts:
1.Ampersand (&)
2.Entity name or number
WHY DO WE USE
SPECIAL
CHARACTER
ENTITIES?
There are characters that
are already reserved for
the HTML tags and the
contents itself. Also, HTML
can be a document for
publishing, therefore it
requires the full use of
characters in the alphabet
as well as the symbols.
Example:
Less than (<) and Greater
than (>) symbols are
reserved for the HTML tags.
If you use these symbols in
CHARACTER
ENTITIES
A P P L I C AT I O N
W R I T E A C O D E T H AT
W I L L O U T P U T:
• The title of
the web page
is Special
Character
Entities
• Save your
work as
LastnameEnti
G E N E R A L I Z AT I O N
W H AT H A V E Y O U
L E A R N E D T O D AY ?
HTML CHARACTER ENTITIES
KAROL PAUL D.
SOTELO
E V A L U AT I O N
Write the HTML Entity Name for each
punctuation
1.< - _________________________
2.> - _________________________
3.& - _________________________
4. . - _________________________
5. (space) - ___________________
Write the HTML Entity Name for each
punctuation
1.< - <
2.> - >
3.& - &
4. . - ·
5. (space) -
A SS I G N M E N T
Do advance reading
about HTML Links
THANK YOU
I HOPE YOU LEARNED
SOMETHING NEW!