KEMBAR78
HTML Symbol Entities & Validation | PDF | Technology & Engineering
0% found this document useful (0 votes)
33 views8 pages

HTML Symbol Entities & Validation

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

HTML Symbol Entities & Validation

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

ICT1513

Chapter 2
Lesson 5

Using Symbol Entities


Validating HTML
documents
Objectives

• You will have mastered the material in this


lesson when you can:
– Insert symbol codes and other character entities
– Describe and use heading elements
– Describe the benefits of validating web documents
– Validate an HTML template
Using Symbol Entities
• A symbol can be added to an HTML
webpage by typing its HTML entity name
or entity number
– Inserting an HTML character entity in the
code displays a reserved HTML character
on the webpage
– Entity name is an abbreviated name
– Entity number is a combination of the pound
sign (#) and a numeric code
Using Symbol Entities (continued 1)
• Add content and a symbol to the footer
section

Figure 2-24
Using Symbol Entities (continued 2)
• Add text and nonbreaking spaces to the
nav section

Figure 2-23
Validating HTML Documents
• After creation of an HTML file, the
document is validated to verify HTML
code validity
– Validator checks for errors, indicates where
they are located, and suggests corrections
• If the validator detects an error in an HTML
code, it displays a warning in the header bar
• Result line below the header bar shows the
number of errors in the document
Validating HTML Documents (continued 1)
• Validate the webpage template

Figure 2-26
Validating HTML Documents (continued 2)
• Validate an HTML document with errors

Figure 2-29

You might also like