SlideShare a Scribd company logo
Enhancing a Website with
Links and Images
Web Design with
HTML5 & CSS3
8th Edition
• Describe types of hyperlinks
• Create relative links, absolute links, email links,
and telephone links
• Describe image file formats
• Describe the image tag and its attributes
• Add images to a website
• Explain div elements and attributes
Chapter 3: Creating Web Pages with Links, Images 2
Chapter Objectives
• Use a div element to mark a page division
• Define the class attribute
• Describe and use HTML heading tags
• Describe the types of lists in an HTML document
• Create an unordered list and a description list
• Test and validate links on a webpage
Chapter 3: Creating Web Pages with Links, Images 3
Chapter Objectives (continued)
• Hyperlink – It is a link on a webpage that allows
users to navigate a website and move from one
page to another
• Link – It is text, an image, or other webpage
content that visitors tap or click to instruct the
browser to go to a location in a file
• Text link – When text is coded as a hyperlink, it
appears as underlined text in a color different
from the rest of the webpage text
Chapter 3: Creating Web Pages with Links, Images 4
Adding Links to a Webpage
• Text link is also known as hypertext link
• Image link – It is used to indicate an image as a
link and some websites display a border around
the image
Chapter 3: Enhancing a Website with Links and Images 5
Adding Links to a Webpage
(continued)
• It is used to create a hyperlink on a webpage
• The <a> and </a> are the start and the end tags
• Include the href attribute in the starting anchor
tag to identify the webpage, email address, file,
telephone number, or other content to access
• The value of the href attribute is the content for
a link
Chapter 3: Creating Web Pages with Links, Images 6
Anchor element
• It is a hyperlink that links to other webpages
within the same website
• It is created by using an anchor tag with an href
attribute that designates the file name of the
webpage or the path and the file name of the
webpage
Chapter 3: Creating Web Pages with Links, Images 7
Relative link
Chapter 3: Creating Web Pages with Links, Images 8
Relative link (continued)
• The Figure 3-2 shows an example of a relative link
• It is a hyperlink that links to other webpages
outside of a website
• It is created using an anchor element with an
href attribute that designates a website URL
Chapter 3: Creating Web Pages with Links, Images 9
Absolute link
Chapter 3: Enhancing a Website with Links and Images 10
Absolute link (continued)
• The Figure 3-3 shows an example of an absolute
link
• Images can be used to link to another page within
the site, another website, an email address, or a
telephone number
Chapter 3: Enhancing a Website with Links and Images 11
Image link
• It is a hyperlink that links to an email address
• Use anchor elements to link to an email address
by including the href attribute followed by
"mailto:" and then the email address
Chapter 3: Creating Web Pages with Links, Images 12
Email link
• The Figure 3-5 shows an example of an email link
Chapter 3: Enhancing a Website with Links and Images 13
Email link (continued)
• It is a hyperlink that links to a telephone number
• Use an anchor element to link to a telephone
number by including the href attribute, followed
by "tel:+1number" where +1 is the international
dialing prefix and number is the phone number
Chapter 3: Creating Web Pages with Links, Images 14
Telephone link
Chapter 3: Enhancing a Website with Links and Images 15
Telephone link (continued)
• The Figure 3-7 shows an example of a telephone
link
• Images include photos, drawings, diagrams,
charts, and other graphics that convey visual
information
• Images should support the purpose of the
webpage or illustrate the content
Chapter 3: Creating Web Pages with Links, Images 16
Adding Images to a Website
• Image files are created in several formats such as:
– Graphics Interchange Format (GIF) – It supports
transparency and frame animation
oLossless compression – To compress an image, GIF
uses this technique to maintain the file’s color
information
– Portable Network Graphics (PNG) – It supports
transparency, but not animation
Chapter 3: Creating Web Pages with Links, Images 17
Image File Formats
– Joint Photographic Experts Group (JPG or JPEG) – It is
a standard file format for digital photos
oLossy compression – To reduce file size, this
technique is used to discard some of the color
information in the image
– Scalable Vector Graphics (SVG) – It is a format that
uses markup language to create two-dimensional
graphics, images, and animations
Chapter 3: Enhancing a Website with Links and Images 18
Image File Formats (continued)
Chapter 3: Creating Web Pages with Links, Images 19
Image File Formats (continued 1)
• Pixel – It is the smallest element of light or color
on a device displaying images
• The common resolution for laptops is 1366 x 768
pixels
• The disadvantage of an image with a high
resolution is that it also has a large file size
• Use graphic or photo editors to optimize an image
with a large file size to reduce its file size and load
time
Chapter 3: Creating Web Pages with Links, Images 20
Image Dimensions and File Size
• <img> – The image tag is an empty HTML tag used
to add an image to a webpage
• The image tag includes attributes such as:
– src – It identifies the image file being inserted
– alt – It specifies alternate text in case the image
cannot be displayed in a browser
– height – It defines the height of an image in pixels
– width – It defines the width of an image in pixels
Chapter 3: Creating Web Pages with Links, Images 21
Image Tag and Its Attributes
Chapter 3: Creating Web Pages with Links, Images 22
Image Tag and Its Attributes
(continued)
Chapter 3: Creating Web Pages with Links, Images 23
Image Tag and Its Attributes
(continued 1)
• The Figure 3-34 shows an example of an image
tag with attributes
• Div element defines an area or a division in a
webpage
• It uses the <div> and </div> tags
• It can be used within the main element to further
divide the primary content area into separate
sections
Chapter 3: Creating Web Pages with Links, Images 24
Div element
Chapter 3: Creating Web Pages with Links, Images 25
Div element (continued)
• The Figure 3-41 shows a wireframe with four div
elements inside the main element
• Div elements have attributes that provide
information about the element
• The id is a div attribute which identifies a unique
area on a webpage and distinguishes it from other
page divisions
Chapter 3: Creating Web Pages with Links, Images 26
Div attributes
Chapter 3: Creating Web Pages with Links, Images 27
Div attributes (continued)
• The Figure 3-43 shows the revised wireframe with
the div element and id attribute value defined as
container
• A class attribute name can be applied to more
than one div or other HTML element on a
webpage
• The Figure 3-48 shows an example of a class attribute
used within an image tag
Chapter 3: Enhancing a Website with Links and Images 28
Class Attributes
• Heading elements – They provide a title or
heading before a paragraph of text or section of a
page
• Heading levels – There are 6 levels of headings,
with level 1 being the most important and level 6
the least
Chapter 3: Creating Web Pages with Links, Images 29
Adding Headings and Lists
• List – It structures text into an itemized format
• The different types of lists are:
– Unordered list
• It displays each item of information in no specific
sequence
• The <ul> and </ul> are the start and end tags for an
unordered list
• <li> and </li> are the start and end list item tags
Chapter 3: Creating Web Pages with Links, Images 30
Adding Headings and Lists
(continued)
• The following code creates a bulleted list of two
items:
<ul>
<li>First item</li>
<li>Second item</li>
</ul>
Chapter 3: Enhancing a Website with Links and Images 31
Adding Headings and Lists
(continued 1)
– Ordered list
• It displays information in a series using numbers or
letters
• The <ol> and </ol> are the start and end tags for an
ordered list
• <li> and </li> are the start and end list item tags
• The following code creates a numbered list of two
items:
<ol>
<li>First item</li>
<li>Second item</li>
</ol>
Chapter 3: Enhancing a Website with Links and Images 32
Adding Headings and Lists
(continued 2)
• The Figure 3-50 shows a webpage with an
unordered and an ordered list
Chapter 3: Creating Web Pages with Links, Images 33
Adding Headings and Lists
(continued 3)
• A description list contains terms and descriptions
• The <dl> and </dl> are the start and end tags for a
description list
• Each term is marked within a pair of <dt> and
</dt> tags
• Each description or definition is marked between
a pair of <dd> and </dd> tags
Chapter 3: Enhancing a Website with Links and Images 34
Adding Headings and Lists
(continued 4)
• The following code creates a description list of two
terms and definitions:
<dl>
<dt>First term</dt>
<dd>First definition</dd>
<dt>Second term</dt>
<dd>Second definition – part
1</dd>
<dd>Second definition – part
2</dd>
</dl>
Chapter 3: Enhancing a Website with Links and Images 35
Adding Headings and Lists
(continued 5)
Chapter 3: Creating Web Pages with Links, Images 36
Adding Headings and Lists
(continued 6)
• The Figure 3-51 shows an example of a
description list
• Perform the following steps to validate an HTML
document:
– Open a browser and type
http://validator.w3.org/ in the address bar to
display the W3C validator page
– Tap or click the Validate by File Upload tab to display
the Validate by File Upload tab information
– Tap or click the Check button to send the document
through the validator and display the validation results
page (as shown in slide 36)
Chapter 3: Enhancing a Website with Links and Images 37
To Validate Webpages
– Correct the errors if any, save the changes, and run the
file through the validator again to revalidate the page
– Perform the above steps to validate HTML pages and
correct any errors
– Close the browser, and then close the HTML text
editor
Chapter 3: Enhancing a Website with Links and Images 38
To Validate Webpages
(continued)
Chapter 3: Enhancing a Website with Links and Images 39
To Validate Webpages (continued
2)
Chapter 3 Complete
HTML
8th Edition
Ad

More Related Content

What's hot (20)

Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01
Hatem Mahmoud
 
CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Properties
hstryk
 
Introduction to flexbox
Introduction  to  flexboxIntroduction  to  flexbox
Introduction to flexbox
Jyoti Gautam
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
Seble Nigussie
 
Html introduction
Html introductionHtml introduction
Html introduction
Dalia Elbadry
 
Css lecture notes
Css lecture notesCss lecture notes
Css lecture notes
Santhiya Grace
 
Css and its types
Css and its typesCss and its types
Css and its types
Mansi Mahadik
 
Css Text Formatting
Css Text FormattingCss Text Formatting
Css Text Formatting
Dr. Jasmine Beulah Gnanadurai
 
Object diagram
Object diagramObject diagram
Object diagram
Preeti Mishra
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
Bernardo Raposo
 
Html forms
Html formsHtml forms
Html forms
Himanshu Pathak
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ajay Khatri
 
Web html table tags
Web html  table tagsWeb html  table tags
Web html table tags
Kainat Ilyas
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
HTML Head Section Elements
HTML Head Section ElementsHTML Head Section Elements
HTML Head Section Elements
Somesh Gulati
 
Css floats
Css floatsCss floats
Css floats
Webtech Learning
 
Lenguaje html y css
Lenguaje html y cssLenguaje html y css
Lenguaje html y css
RicardoFerrandoGmez
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
Sanjeev Kumar
 
Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01
Hatem Mahmoud
 
CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Properties
hstryk
 
Introduction to flexbox
Introduction  to  flexboxIntroduction  to  flexbox
Introduction to flexbox
Jyoti Gautam
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
Seble Nigussie
 
Html introduction
Html introductionHtml introduction
Html introduction
Dalia Elbadry
 
Css lecture notes
Css lecture notesCss lecture notes
Css lecture notes
Santhiya Grace
 
Css and its types
Css and its typesCss and its types
Css and its types
Mansi Mahadik
 
Object diagram
Object diagramObject diagram
Object diagram
Preeti Mishra
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
Bernardo Raposo
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ajay Khatri
 
Web html table tags
Web html  table tagsWeb html  table tags
Web html table tags
Kainat Ilyas
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
HTML Head Section Elements
HTML Head Section ElementsHTML Head Section Elements
HTML Head Section Elements
Somesh Gulati
 

Viewers also liked (19)

HTML: Chapter 01
HTML: Chapter 01HTML: Chapter 01
HTML: Chapter 01
Steve Guinan
 
HTML & CSS: Chapter 05
HTML & CSS: Chapter 05HTML & CSS: Chapter 05
HTML & CSS: Chapter 05
Steve Guinan
 
Chapter 19
Chapter 19Chapter 19
Chapter 19
application developer
 
Intro To ECAT
Intro To ECATIntro To ECAT
Intro To ECAT
cloeven
 
CSS
CSSCSS
CSS
Akila Iroshan
 
Chapter 25
Chapter 25Chapter 25
Chapter 25
application developer
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
application developer
 
CSS3 notes
CSS3 notesCSS3 notes
CSS3 notes
Rex Wang
 
Elements of Design
Elements of DesignElements of Design
Elements of Design
Steve Guinan
 
CSS - Basics
CSS - BasicsCSS - Basics
CSS - Basics
Shubham_Saurabh
 
Unit 6, Lesson 3 - Vectors
Unit 6, Lesson 3 - VectorsUnit 6, Lesson 3 - Vectors
Unit 6, Lesson 3 - Vectors
judan1970
 
Bread board
Bread boardBread board
Bread board
André Walker
 
Breadboard
BreadboardBreadboard
Breadboard
EMEC101
 
Basic css
Basic cssBasic css
Basic css
Gopinath Ambothi
 
Web Engineering - Basic CSS Properties
Web Engineering - Basic CSS PropertiesWeb Engineering - Basic CSS Properties
Web Engineering - Basic CSS Properties
Nosheen Qamar
 
Vernier caliper
Vernier caliperVernier caliper
Vernier caliper
Abinashpapu
 
Spline Interpolation
Spline InterpolationSpline Interpolation
Spline Interpolation
aiQUANT
 
Interpolation and extrapolation
Interpolation and extrapolationInterpolation and extrapolation
Interpolation and extrapolation
Aswin Pv
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1
Sun Technlogies
 
HTML: Chapter 01
HTML: Chapter 01HTML: Chapter 01
HTML: Chapter 01
Steve Guinan
 
HTML & CSS: Chapter 05
HTML & CSS: Chapter 05HTML & CSS: Chapter 05
HTML & CSS: Chapter 05
Steve Guinan
 
Intro To ECAT
Intro To ECATIntro To ECAT
Intro To ECAT
cloeven
 
CSS3 notes
CSS3 notesCSS3 notes
CSS3 notes
Rex Wang
 
Elements of Design
Elements of DesignElements of Design
Elements of Design
Steve Guinan
 
Unit 6, Lesson 3 - Vectors
Unit 6, Lesson 3 - VectorsUnit 6, Lesson 3 - Vectors
Unit 6, Lesson 3 - Vectors
judan1970
 
Breadboard
BreadboardBreadboard
Breadboard
EMEC101
 
Web Engineering - Basic CSS Properties
Web Engineering - Basic CSS PropertiesWeb Engineering - Basic CSS Properties
Web Engineering - Basic CSS Properties
Nosheen Qamar
 
Vernier caliper
Vernier caliperVernier caliper
Vernier caliper
Abinashpapu
 
Spline Interpolation
Spline InterpolationSpline Interpolation
Spline Interpolation
aiQUANT
 
Interpolation and extrapolation
Interpolation and extrapolationInterpolation and extrapolation
Interpolation and extrapolation
Aswin Pv
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1
Sun Technlogies
 
Ad

Similar to HTML & CSS: Chapter 03 (20)

More on HTML Communication Skills BASICS
More on HTML Communication Skills BASICSMore on HTML Communication Skills BASICS
More on HTML Communication Skills BASICS
GraceChokoli1
 
Creating Links
Creating LinksCreating Links
Creating Links
Bravocash
 
Images, lists and links
Images, lists and linksImages, lists and links
Images, lists and links
Jhaun Paul Enriquez
 
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdfChapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
rehansayyadgolden07
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
wewit44414
 
Web Development 3 (HTML & CSS)
Web Development 3  (HTML & CSS)Web Development 3  (HTML & CSS)
Web Development 3 (HTML & CSS)
ghayour abbas
 
web unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptxweb unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptx
Chan24811
 
HTML (HyperText Markup Language)
HTML (HyperText Markup Language)HTML (HyperText Markup Language)
HTML (HyperText Markup Language)
Amber Bhaumik
 
Working with Images
Working with ImagesWorking with Images
Working with Images
Nicole Ryan
 
gdsc-html-ppt.pptx
gdsc-html-ppt.pptxgdsc-html-ppt.pptx
gdsc-html-ppt.pptx
yuvakiran15
 
BVK_PTT_HTML-Unit - III (1).pptx
BVK_PTT_HTML-Unit - III (1).pptxBVK_PTT_HTML-Unit - III (1).pptx
BVK_PTT_HTML-Unit - III (1).pptx
panoosha2
 
Dreamweaver Ch03
Dreamweaver Ch03Dreamweaver Ch03
Dreamweaver Ch03
Frank Fucile
 
Using HTML to Create Web Pages
Using HTML to Create Web PagesUsing HTML to Create Web Pages
Using HTML to Create Web Pages
Bravocash
 
Ddpz2613 topic3 linking
Ddpz2613 topic3 linkingDdpz2613 topic3 linking
Ddpz2613 topic3 linking
Mohamad Sahiedan
 
Grade 6-Hyper Text Markup Language .pptx
Grade 6-Hyper Text Markup Language .pptxGrade 6-Hyper Text Markup Language .pptx
Grade 6-Hyper Text Markup Language .pptx
dilumariyajoseph
 
Chapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfChapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdf
MhndHTaani
 
HTML (part ii).pptx
HTML (part ii).pptxHTML (part ii).pptx
HTML (part ii).pptx
techsupport70
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
DineshKumar522328
 
HTML Basic Training for beginners - Learn HTML coding
HTML Basic Training for beginners - Learn HTML codingHTML Basic Training for beginners - Learn HTML coding
HTML Basic Training for beginners - Learn HTML coding
mithizzzz
 
web development presentation computer science
web development presentation computer scienceweb development presentation computer science
web development presentation computer science
girijasharma7777
 
More on HTML Communication Skills BASICS
More on HTML Communication Skills BASICSMore on HTML Communication Skills BASICS
More on HTML Communication Skills BASICS
GraceChokoli1
 
Creating Links
Creating LinksCreating Links
Creating Links
Bravocash
 
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdfChapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
rehansayyadgolden07
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
wewit44414
 
Web Development 3 (HTML & CSS)
Web Development 3  (HTML & CSS)Web Development 3  (HTML & CSS)
Web Development 3 (HTML & CSS)
ghayour abbas
 
web unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptxweb unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptx
Chan24811
 
HTML (HyperText Markup Language)
HTML (HyperText Markup Language)HTML (HyperText Markup Language)
HTML (HyperText Markup Language)
Amber Bhaumik
 
Working with Images
Working with ImagesWorking with Images
Working with Images
Nicole Ryan
 
gdsc-html-ppt.pptx
gdsc-html-ppt.pptxgdsc-html-ppt.pptx
gdsc-html-ppt.pptx
yuvakiran15
 
BVK_PTT_HTML-Unit - III (1).pptx
BVK_PTT_HTML-Unit - III (1).pptxBVK_PTT_HTML-Unit - III (1).pptx
BVK_PTT_HTML-Unit - III (1).pptx
panoosha2
 
Dreamweaver Ch03
Dreamweaver Ch03Dreamweaver Ch03
Dreamweaver Ch03
Frank Fucile
 
Using HTML to Create Web Pages
Using HTML to Create Web PagesUsing HTML to Create Web Pages
Using HTML to Create Web Pages
Bravocash
 
Ddpz2613 topic3 linking
Ddpz2613 topic3 linkingDdpz2613 topic3 linking
Ddpz2613 topic3 linking
Mohamad Sahiedan
 
Grade 6-Hyper Text Markup Language .pptx
Grade 6-Hyper Text Markup Language .pptxGrade 6-Hyper Text Markup Language .pptx
Grade 6-Hyper Text Markup Language .pptx
dilumariyajoseph
 
Chapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfChapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdf
MhndHTaani
 
HTML (part ii).pptx
HTML (part ii).pptxHTML (part ii).pptx
HTML (part ii).pptx
techsupport70
 
INTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdfINTERNSHIP PROJECT PPT RAJ HZL.pdf
INTERNSHIP PROJECT PPT RAJ HZL.pdf
DineshKumar522328
 
HTML Basic Training for beginners - Learn HTML coding
HTML Basic Training for beginners - Learn HTML codingHTML Basic Training for beginners - Learn HTML coding
HTML Basic Training for beginners - Learn HTML coding
mithizzzz
 
web development presentation computer science
web development presentation computer scienceweb development presentation computer science
web development presentation computer science
girijasharma7777
 
Ad

More from Steve Guinan (20)

Chapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and AnimationChapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and Animation
Steve Guinan
 
Chapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignChapter 17: Responsive Web Design
Chapter 17: Responsive Web Design
Steve Guinan
 
Chapter 15: Floating and Positioning
Chapter 15: Floating and Positioning Chapter 15: Floating and Positioning
Chapter 15: Floating and Positioning
Steve Guinan
 
Chapter 9: Forms
Chapter 9: FormsChapter 9: Forms
Chapter 9: Forms
Steve Guinan
 
Chapter 8: Tables
Chapter 8: TablesChapter 8: Tables
Chapter 8: Tables
Steve Guinan
 
Chapter 14: Box Model
Chapter 14: Box ModelChapter 14: Box Model
Chapter 14: Box Model
Steve Guinan
 
Chapter 13: Colors and Backgrounds
Chapter 13: Colors and BackgroundsChapter 13: Colors and Backgrounds
Chapter 13: Colors and Backgrounds
Steve Guinan
 
Chapter 12: CSS Part 2
Chapter 12: CSS Part 2Chapter 12: CSS Part 2
Chapter 12: CSS Part 2
Steve Guinan
 
Chapter 11: Intro to CSS
Chapter 11: Intro to CSSChapter 11: Intro to CSS
Chapter 11: Intro to CSS
Steve Guinan
 
Chapter 23: Web Images
Chapter 23: Web ImagesChapter 23: Web Images
Chapter 23: Web Images
Steve Guinan
 
Chapter 7: Images
Chapter 7: ImagesChapter 7: Images
Chapter 7: Images
Steve Guinan
 
HubSpot Student Instructions
HubSpot Student InstructionsHubSpot Student Instructions
HubSpot Student Instructions
Steve Guinan
 
Ch 6: Links
Ch 6: LinksCh 6: Links
Ch 6: Links
Steve Guinan
 
Ch 5: Marking up Text
Ch 5: Marking up TextCh 5: Marking up Text
Ch 5: Marking up Text
Steve Guinan
 
Ch 3: Big Concepts
Ch 3: Big ConceptsCh 3: Big Concepts
Ch 3: Big Concepts
Steve Guinan
 
Ch 2: How the Web Works
Ch 2: How the Web WorksCh 2: How the Web Works
Ch 2: How the Web Works
Steve Guinan
 
Ch 1: Getting Started
Ch 1: Getting StartedCh 1: Getting Started
Ch 1: Getting Started
Steve Guinan
 
Intro to Web Design 6e Chapter 7
Intro to Web Design 6e Chapter 7Intro to Web Design 6e Chapter 7
Intro to Web Design 6e Chapter 7
Steve Guinan
 
Intro to Web Design 6e Chapter 6
Intro to Web Design 6e Chapter 6Intro to Web Design 6e Chapter 6
Intro to Web Design 6e Chapter 6
Steve Guinan
 
Intro to Web Design 6e Chapter 5
Intro to Web Design 6e Chapter 5Intro to Web Design 6e Chapter 5
Intro to Web Design 6e Chapter 5
Steve Guinan
 
Chapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and AnimationChapter 18: Transitions, Transforms, and Animation
Chapter 18: Transitions, Transforms, and Animation
Steve Guinan
 
Chapter 17: Responsive Web Design
Chapter 17: Responsive Web DesignChapter 17: Responsive Web Design
Chapter 17: Responsive Web Design
Steve Guinan
 
Chapter 15: Floating and Positioning
Chapter 15: Floating and Positioning Chapter 15: Floating and Positioning
Chapter 15: Floating and Positioning
Steve Guinan
 
Chapter 9: Forms
Chapter 9: FormsChapter 9: Forms
Chapter 9: Forms
Steve Guinan
 
Chapter 8: Tables
Chapter 8: TablesChapter 8: Tables
Chapter 8: Tables
Steve Guinan
 
Chapter 14: Box Model
Chapter 14: Box ModelChapter 14: Box Model
Chapter 14: Box Model
Steve Guinan
 
Chapter 13: Colors and Backgrounds
Chapter 13: Colors and BackgroundsChapter 13: Colors and Backgrounds
Chapter 13: Colors and Backgrounds
Steve Guinan
 
Chapter 12: CSS Part 2
Chapter 12: CSS Part 2Chapter 12: CSS Part 2
Chapter 12: CSS Part 2
Steve Guinan
 
Chapter 11: Intro to CSS
Chapter 11: Intro to CSSChapter 11: Intro to CSS
Chapter 11: Intro to CSS
Steve Guinan
 
Chapter 23: Web Images
Chapter 23: Web ImagesChapter 23: Web Images
Chapter 23: Web Images
Steve Guinan
 
Chapter 7: Images
Chapter 7: ImagesChapter 7: Images
Chapter 7: Images
Steve Guinan
 
HubSpot Student Instructions
HubSpot Student InstructionsHubSpot Student Instructions
HubSpot Student Instructions
Steve Guinan
 
Ch 5: Marking up Text
Ch 5: Marking up TextCh 5: Marking up Text
Ch 5: Marking up Text
Steve Guinan
 
Ch 3: Big Concepts
Ch 3: Big ConceptsCh 3: Big Concepts
Ch 3: Big Concepts
Steve Guinan
 
Ch 2: How the Web Works
Ch 2: How the Web WorksCh 2: How the Web Works
Ch 2: How the Web Works
Steve Guinan
 
Ch 1: Getting Started
Ch 1: Getting StartedCh 1: Getting Started
Ch 1: Getting Started
Steve Guinan
 
Intro to Web Design 6e Chapter 7
Intro to Web Design 6e Chapter 7Intro to Web Design 6e Chapter 7
Intro to Web Design 6e Chapter 7
Steve Guinan
 
Intro to Web Design 6e Chapter 6
Intro to Web Design 6e Chapter 6Intro to Web Design 6e Chapter 6
Intro to Web Design 6e Chapter 6
Steve Guinan
 
Intro to Web Design 6e Chapter 5
Intro to Web Design 6e Chapter 5Intro to Web Design 6e Chapter 5
Intro to Web Design 6e Chapter 5
Steve Guinan
 

Recently uploaded (20)

LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
LDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini UpdatesLDMMIA Reiki Master Spring 2025 Mini Updates
LDMMIA Reiki Master Spring 2025 Mini Updates
LDM Mia eStudios
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 

HTML & CSS: Chapter 03

  • 1. Enhancing a Website with Links and Images Web Design with HTML5 & CSS3 8th Edition
  • 2. • Describe types of hyperlinks • Create relative links, absolute links, email links, and telephone links • Describe image file formats • Describe the image tag and its attributes • Add images to a website • Explain div elements and attributes Chapter 3: Creating Web Pages with Links, Images 2 Chapter Objectives
  • 3. • Use a div element to mark a page division • Define the class attribute • Describe and use HTML heading tags • Describe the types of lists in an HTML document • Create an unordered list and a description list • Test and validate links on a webpage Chapter 3: Creating Web Pages with Links, Images 3 Chapter Objectives (continued)
  • 4. • Hyperlink – It is a link on a webpage that allows users to navigate a website and move from one page to another • Link – It is text, an image, or other webpage content that visitors tap or click to instruct the browser to go to a location in a file • Text link – When text is coded as a hyperlink, it appears as underlined text in a color different from the rest of the webpage text Chapter 3: Creating Web Pages with Links, Images 4 Adding Links to a Webpage
  • 5. • Text link is also known as hypertext link • Image link – It is used to indicate an image as a link and some websites display a border around the image Chapter 3: Enhancing a Website with Links and Images 5 Adding Links to a Webpage (continued)
  • 6. • It is used to create a hyperlink on a webpage • The <a> and </a> are the start and the end tags • Include the href attribute in the starting anchor tag to identify the webpage, email address, file, telephone number, or other content to access • The value of the href attribute is the content for a link Chapter 3: Creating Web Pages with Links, Images 6 Anchor element
  • 7. • It is a hyperlink that links to other webpages within the same website • It is created by using an anchor tag with an href attribute that designates the file name of the webpage or the path and the file name of the webpage Chapter 3: Creating Web Pages with Links, Images 7 Relative link
  • 8. Chapter 3: Creating Web Pages with Links, Images 8 Relative link (continued) • The Figure 3-2 shows an example of a relative link
  • 9. • It is a hyperlink that links to other webpages outside of a website • It is created using an anchor element with an href attribute that designates a website URL Chapter 3: Creating Web Pages with Links, Images 9 Absolute link
  • 10. Chapter 3: Enhancing a Website with Links and Images 10 Absolute link (continued) • The Figure 3-3 shows an example of an absolute link
  • 11. • Images can be used to link to another page within the site, another website, an email address, or a telephone number Chapter 3: Enhancing a Website with Links and Images 11 Image link
  • 12. • It is a hyperlink that links to an email address • Use anchor elements to link to an email address by including the href attribute followed by "mailto:" and then the email address Chapter 3: Creating Web Pages with Links, Images 12 Email link
  • 13. • The Figure 3-5 shows an example of an email link Chapter 3: Enhancing a Website with Links and Images 13 Email link (continued)
  • 14. • It is a hyperlink that links to a telephone number • Use an anchor element to link to a telephone number by including the href attribute, followed by "tel:+1number" where +1 is the international dialing prefix and number is the phone number Chapter 3: Creating Web Pages with Links, Images 14 Telephone link
  • 15. Chapter 3: Enhancing a Website with Links and Images 15 Telephone link (continued) • The Figure 3-7 shows an example of a telephone link
  • 16. • Images include photos, drawings, diagrams, charts, and other graphics that convey visual information • Images should support the purpose of the webpage or illustrate the content Chapter 3: Creating Web Pages with Links, Images 16 Adding Images to a Website
  • 17. • Image files are created in several formats such as: – Graphics Interchange Format (GIF) – It supports transparency and frame animation oLossless compression – To compress an image, GIF uses this technique to maintain the file’s color information – Portable Network Graphics (PNG) – It supports transparency, but not animation Chapter 3: Creating Web Pages with Links, Images 17 Image File Formats
  • 18. – Joint Photographic Experts Group (JPG or JPEG) – It is a standard file format for digital photos oLossy compression – To reduce file size, this technique is used to discard some of the color information in the image – Scalable Vector Graphics (SVG) – It is a format that uses markup language to create two-dimensional graphics, images, and animations Chapter 3: Enhancing a Website with Links and Images 18 Image File Formats (continued)
  • 19. Chapter 3: Creating Web Pages with Links, Images 19 Image File Formats (continued 1)
  • 20. • Pixel – It is the smallest element of light or color on a device displaying images • The common resolution for laptops is 1366 x 768 pixels • The disadvantage of an image with a high resolution is that it also has a large file size • Use graphic or photo editors to optimize an image with a large file size to reduce its file size and load time Chapter 3: Creating Web Pages with Links, Images 20 Image Dimensions and File Size
  • 21. • <img> – The image tag is an empty HTML tag used to add an image to a webpage • The image tag includes attributes such as: – src – It identifies the image file being inserted – alt – It specifies alternate text in case the image cannot be displayed in a browser – height – It defines the height of an image in pixels – width – It defines the width of an image in pixels Chapter 3: Creating Web Pages with Links, Images 21 Image Tag and Its Attributes
  • 22. Chapter 3: Creating Web Pages with Links, Images 22 Image Tag and Its Attributes (continued)
  • 23. Chapter 3: Creating Web Pages with Links, Images 23 Image Tag and Its Attributes (continued 1) • The Figure 3-34 shows an example of an image tag with attributes
  • 24. • Div element defines an area or a division in a webpage • It uses the <div> and </div> tags • It can be used within the main element to further divide the primary content area into separate sections Chapter 3: Creating Web Pages with Links, Images 24 Div element
  • 25. Chapter 3: Creating Web Pages with Links, Images 25 Div element (continued) • The Figure 3-41 shows a wireframe with four div elements inside the main element
  • 26. • Div elements have attributes that provide information about the element • The id is a div attribute which identifies a unique area on a webpage and distinguishes it from other page divisions Chapter 3: Creating Web Pages with Links, Images 26 Div attributes
  • 27. Chapter 3: Creating Web Pages with Links, Images 27 Div attributes (continued) • The Figure 3-43 shows the revised wireframe with the div element and id attribute value defined as container
  • 28. • A class attribute name can be applied to more than one div or other HTML element on a webpage • The Figure 3-48 shows an example of a class attribute used within an image tag Chapter 3: Enhancing a Website with Links and Images 28 Class Attributes
  • 29. • Heading elements – They provide a title or heading before a paragraph of text or section of a page • Heading levels – There are 6 levels of headings, with level 1 being the most important and level 6 the least Chapter 3: Creating Web Pages with Links, Images 29 Adding Headings and Lists
  • 30. • List – It structures text into an itemized format • The different types of lists are: – Unordered list • It displays each item of information in no specific sequence • The <ul> and </ul> are the start and end tags for an unordered list • <li> and </li> are the start and end list item tags Chapter 3: Creating Web Pages with Links, Images 30 Adding Headings and Lists (continued)
  • 31. • The following code creates a bulleted list of two items: <ul> <li>First item</li> <li>Second item</li> </ul> Chapter 3: Enhancing a Website with Links and Images 31 Adding Headings and Lists (continued 1)
  • 32. – Ordered list • It displays information in a series using numbers or letters • The <ol> and </ol> are the start and end tags for an ordered list • <li> and </li> are the start and end list item tags • The following code creates a numbered list of two items: <ol> <li>First item</li> <li>Second item</li> </ol> Chapter 3: Enhancing a Website with Links and Images 32 Adding Headings and Lists (continued 2)
  • 33. • The Figure 3-50 shows a webpage with an unordered and an ordered list Chapter 3: Creating Web Pages with Links, Images 33 Adding Headings and Lists (continued 3)
  • 34. • A description list contains terms and descriptions • The <dl> and </dl> are the start and end tags for a description list • Each term is marked within a pair of <dt> and </dt> tags • Each description or definition is marked between a pair of <dd> and </dd> tags Chapter 3: Enhancing a Website with Links and Images 34 Adding Headings and Lists (continued 4)
  • 35. • The following code creates a description list of two terms and definitions: <dl> <dt>First term</dt> <dd>First definition</dd> <dt>Second term</dt> <dd>Second definition – part 1</dd> <dd>Second definition – part 2</dd> </dl> Chapter 3: Enhancing a Website with Links and Images 35 Adding Headings and Lists (continued 5)
  • 36. Chapter 3: Creating Web Pages with Links, Images 36 Adding Headings and Lists (continued 6) • The Figure 3-51 shows an example of a description list
  • 37. • Perform the following steps to validate an HTML document: – Open a browser and type http://validator.w3.org/ in the address bar to display the W3C validator page – Tap or click the Validate by File Upload tab to display the Validate by File Upload tab information – Tap or click the Check button to send the document through the validator and display the validation results page (as shown in slide 36) Chapter 3: Enhancing a Website with Links and Images 37 To Validate Webpages
  • 38. – Correct the errors if any, save the changes, and run the file through the validator again to revalidate the page – Perform the above steps to validate HTML pages and correct any errors – Close the browser, and then close the HTML text editor Chapter 3: Enhancing a Website with Links and Images 38 To Validate Webpages (continued)
  • 39. Chapter 3: Enhancing a Website with Links and Images 39 To Validate Webpages (continued 2)