SlideShare a Scribd company logo
1 of 16
Chapter 4: iframes &
Image Maps
Web Design & Development
4. Students will analyze and create unique
features in HTML by:
• Inserting iframes into a website by using its
elements and attributes
• Creating at least one type of image map on a
website
• Writing coding for at least one type of image map
on a website using its elements and attributes
• Using Microsoft Paint to determine coordinates for
at least one type of image map shape
• Defining key terms used in the chapter.
Iframes
Used to
display a
website
within a
webpage
• <iframe></iframe
• Paired element
• Attribute: src
• URL of website
<iframe src=“http:google.com” width=“600”
hieght=“600” frameborder=“3”
frame></iframe>
(see example on next page with banners…
Image Maps (Hot Spots)
One image
with multiple
“clickable
areas”
Image Maps (Hot Spots)
• Need two objects:
1. An image with distinct areas to
click on
2. Markup to map the different
regions to the urls
Image Maps elements
• <map></map>: holds the map
information
• <area />: links specific parts of
map to URLs
• <img />: sets the picture
Map Attributes
• name: identifies the map
• value of name should match value
of usemap in <img /> element
Area Attributes
• shape: specifies the shape of
region (rect, circle, poly [triange or
polygon])
• coords: defines the region’s
coordinates
Break down of Coords:
• Rect: left, right, top & bottom
points
• Circle: x and y point on circle as
well as radius
• Poly: x and y coordinates for every
vertex in the polygon
Area Attributes
• href: specifies the URL
• alt: must be used to identify image
• title: provides a screen tip
<img src="Pics/park.jpg" width="300" height="200"
usemap="#park" border="0"/>
<map name="park" />
<area shape="rect" coords="190,67,197,195"
href="http://www.stillmanvalley.org"
title="SVSHS" alt="SwingSet Website"
target="_blank" />
<area shape="rect" coords="56,108,45,0"
href="http://www.google.com" title="Google"
alt="Horses" target="_blank" />
<area shape="rect" coords="258,136,256,4"
href="http://www.yahoo.com" title="Yahoo"
alt="Horses" target="_blank" />
</map>
Determining Coords in Paint
Place your
cursor on the
spot on the
picture:
• X1—190
• Y1—(60)
Determining Coords in Paint
To determine the
bottom X2 & Y2,
move your cursor
straight down
from the picture to
the bottom line.
These will be your
coords for:
• X2—199
• Y2—198
Chapter 4: iframes &
Image Maps
Web Design & Development

More Related Content

Similar to Chapter 4 class power point

Sadielai10x10presentation
Sadielai10x10presentationSadielai10x10presentation
Sadielai10x10presentation
sadielai
 
Html5workshop
Html5workshopHtml5workshop
Html5workshop
shiv3110
 

Similar to Chapter 4 class power point (20)

Web forms and html lecture Number 2
Web forms and html lecture Number 2Web forms and html lecture Number 2
Web forms and html lecture Number 2
 
Image Mapping.pptx
Image Mapping.pptxImage Mapping.pptx
Image Mapping.pptx
 
Sadielai10x10presentation
Sadielai10x10presentationSadielai10x10presentation
Sadielai10x10presentation
 
Std 10 Computer Chapter 3 Handling Images in HTML (Part 2)
Std 10 Computer Chapter 3 Handling Images in HTML (Part 2)Std 10 Computer Chapter 3 Handling Images in HTML (Part 2)
Std 10 Computer Chapter 3 Handling Images in HTML (Part 2)
 
Material Design Android
Material Design AndroidMaterial Design Android
Material Design Android
 
CKEditor Widgets with Drupal
CKEditor Widgets with DrupalCKEditor Widgets with Drupal
CKEditor Widgets with Drupal
 
Css sprite
Css spriteCss sprite
Css sprite
 
Advanced Custom Fields: Amazing Possibilities and Irritating Limitations
Advanced Custom Fields: Amazing Possibilities and Irritating LimitationsAdvanced Custom Fields: Amazing Possibilities and Irritating Limitations
Advanced Custom Fields: Amazing Possibilities and Irritating Limitations
 
Web forms and html (lect 2)
Web forms and html (lect 2)Web forms and html (lect 2)
Web forms and html (lect 2)
 
M02 un07 p02
M02 un07 p02M02 un07 p02
M02 un07 p02
 
3. react - native: component
3. react - native: component3. react - native: component
3. react - native: component
 
Linking
LinkingLinking
Linking
 
Html5workshop
Html5workshopHtml5workshop
Html5workshop
 
Chapter4
Chapter4Chapter4
Chapter4
 
Picture Perfect: Images for Coders
Picture Perfect: Images for CodersPicture Perfect: Images for Coders
Picture Perfect: Images for Coders
 
CSS for basic learner
CSS for basic learnerCSS for basic learner
CSS for basic learner
 
New CSS Meets the Real World
New CSS Meets the Real WorldNew CSS Meets the Real World
New CSS Meets the Real World
 
Html 5
Html   5Html   5
Html 5
 
3D Visualization in ArcGIS Pro
3D Visualization in ArcGIS Pro3D Visualization in ArcGIS Pro
3D Visualization in ArcGIS Pro
 
Images meet Web
Images meet WebImages meet Web
Images meet Web
 

More from cmurphysvhs

Unit 1 chapter 3 student trade barriers
Unit 1 chapter 3 student trade barriersUnit 1 chapter 3 student trade barriers
Unit 1 chapter 3 student trade barriers
cmurphysvhs
 
Chapter 3 power point
Chapter 3 power pointChapter 3 power point
Chapter 3 power point
cmurphysvhs
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
cmurphysvhs
 
Chapter 13 power point presentation
Chapter 13 power point presentationChapter 13 power point presentation
Chapter 13 power point presentation
cmurphysvhs
 
Chapter 1 Class PP Notes
Chapter 1 Class PP NotesChapter 1 Class PP Notes
Chapter 1 Class PP Notes
cmurphysvhs
 
WDD Chapter 1 class pp notes
WDD Chapter 1 class pp notesWDD Chapter 1 class pp notes
WDD Chapter 1 class pp notes
cmurphysvhs
 

More from cmurphysvhs (20)

Unit 1 chapter 3 student trade barriers
Unit 1 chapter 3 student trade barriersUnit 1 chapter 3 student trade barriers
Unit 1 chapter 3 student trade barriers
 
Unit 1 chapter 3 student trade barriers
Unit 1 chapter 3 student trade barriersUnit 1 chapter 3 student trade barriers
Unit 1 chapter 3 student trade barriers
 
Unit 1 chapter 3 trade barriers
Unit 1 chapter 3 trade barriersUnit 1 chapter 3 trade barriers
Unit 1 chapter 3 trade barriers
 
Chapter 3 power point
Chapter 3 power pointChapter 3 power point
Chapter 3 power point
 
Chap 2 class notes
Chap 2 class notesChap 2 class notes
Chap 2 class notes
 
Acct chapter 17
Acct chapter 17Acct chapter 17
Acct chapter 17
 
Acct chapter 16
Acct chapter 16Acct chapter 16
Acct chapter 16
 
Acct chapter 15 class presentation
Acct chapter 15 class presentationAcct chapter 15 class presentation
Acct chapter 15 class presentation
 
Acct chapter 14
Acct chapter 14Acct chapter 14
Acct chapter 14
 
Acct chapter 14
Acct chapter 14Acct chapter 14
Acct chapter 14
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
 
Chapter 3 class power point
Chapter 3 class power pointChapter 3 class power point
Chapter 3 class power point
 
Chapter 3 class power point
Chapter 3 class power pointChapter 3 class power point
Chapter 3 class power point
 
Chapter 13 power point presentation
Chapter 13 power point presentationChapter 13 power point presentation
Chapter 13 power point presentation
 
Chapter 2 class power point
Chapter 2 class power pointChapter 2 class power point
Chapter 2 class power point
 
Chapter 3 class presentation
Chapter 3 class presentationChapter 3 class presentation
Chapter 3 class presentation
 
Chapter 1 Class PP Notes
Chapter 1 Class PP NotesChapter 1 Class PP Notes
Chapter 1 Class PP Notes
 
Chapter 12 Class Power Point
Chapter 12 Class Power PointChapter 12 Class Power Point
Chapter 12 Class Power Point
 
WDD Chapter 1 class pp notes
WDD Chapter 1 class pp notesWDD Chapter 1 class pp notes
WDD Chapter 1 class pp notes
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 

Chapter 4 class power point

  • 1. Chapter 4: iframes & Image Maps Web Design & Development
  • 2. 4. Students will analyze and create unique features in HTML by: • Inserting iframes into a website by using its elements and attributes • Creating at least one type of image map on a website • Writing coding for at least one type of image map on a website using its elements and attributes • Using Microsoft Paint to determine coordinates for at least one type of image map shape • Defining key terms used in the chapter.
  • 4. • <iframe></iframe • Paired element • Attribute: src • URL of website <iframe src=“http:google.com” width=“600” hieght=“600” frameborder=“3” frame></iframe> (see example on next page with banners…
  • 5.
  • 6. Image Maps (Hot Spots) One image with multiple “clickable areas”
  • 7. Image Maps (Hot Spots) • Need two objects: 1. An image with distinct areas to click on 2. Markup to map the different regions to the urls
  • 8. Image Maps elements • <map></map>: holds the map information • <area />: links specific parts of map to URLs • <img />: sets the picture
  • 9. Map Attributes • name: identifies the map • value of name should match value of usemap in <img /> element
  • 10. Area Attributes • shape: specifies the shape of region (rect, circle, poly [triange or polygon]) • coords: defines the region’s coordinates
  • 11. Break down of Coords: • Rect: left, right, top & bottom points • Circle: x and y point on circle as well as radius • Poly: x and y coordinates for every vertex in the polygon
  • 12. Area Attributes • href: specifies the URL • alt: must be used to identify image • title: provides a screen tip
  • 13. <img src="Pics/park.jpg" width="300" height="200" usemap="#park" border="0"/> <map name="park" /> <area shape="rect" coords="190,67,197,195" href="http://www.stillmanvalley.org" title="SVSHS" alt="SwingSet Website" target="_blank" /> <area shape="rect" coords="56,108,45,0" href="http://www.google.com" title="Google" alt="Horses" target="_blank" /> <area shape="rect" coords="258,136,256,4" href="http://www.yahoo.com" title="Yahoo" alt="Horses" target="_blank" /> </map>
  • 14. Determining Coords in Paint Place your cursor on the spot on the picture: • X1—190 • Y1—(60)
  • 15. Determining Coords in Paint To determine the bottom X2 & Y2, move your cursor straight down from the picture to the bottom line. These will be your coords for: • X2—199 • Y2—198
  • 16. Chapter 4: iframes & Image Maps Web Design & Development