0% found this document useful (0 votes)
11 views47 pages

Computer Lesson 5 HTML Character Entities

The document outlines a lesson on HTML character entities, explaining their importance for distinguishing between text content and HTML tags. It covers the structure of character entities, examples of reserved characters, and includes exercises for students to practice. The lesson aims to enhance understanding of how HTML files are interpreted and displayed by browsers.

Uploaded by

irma sanchez
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)
11 views47 pages

Computer Lesson 5 HTML Character Entities

The document outlines a lesson on HTML character entities, explaining their importance for distinguishing between text content and HTML tags. It covers the structure of character entities, examples of reserved characters, and includes exercises for students to practice. The lesson aims to enhance understanding of how HTML files are interpreted and displayed by browsers.

Uploaded by

irma sanchez
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/ 47

A LESSON IN COMPUTER 7

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

TO KNOW HOW HTML FILES


ARE INTERPRETED AND
D I S P L AY E D B Y A B R O W S E R
REVIEW
W H AT W A S O U R
LESSON LAST
TIME?
W H AT I S T H E TA G Y O U
NEED TO EMPHASIZE A
TEXT?
HOW TO UNDERLINE
A TEXT?
HOW TO CHANGE THE
F O N T FA C E O F A
TEXT?
M O T I V AT I O N
NAME THE
FOLLOWING
SYMBOLS
#
NUMBER SIGN
<
LESS THAN
=
E Q UA L
/
SLASH
%
PERCENT
NEW WORDS TO
LEARN
/ I S - P E - S YA L /

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.< - &lt;
2.> - &gt;
3.& - &amp;
4. . - &middot;
5. (space) - &nbsp;
A SS I G N M E N T

Do advance reading
about HTML Links
THANK YOU
I HOPE YOU LEARNED
SOMETHING NEW!

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy