SlideShare a Scribd company logo
1 of 9
Chapter 3
Handling Images
in HTML
Image as a Hot Spot
Image Map
Linking Multimedia Files
Solving Textual Exercise
Image as a Hot Spot
• In Online shopping sites we see small images of many items
displayed with brief information of each, and when we click on
these small image to see detailed information then we are
redirected to a page containing the bigger and good quality
image of the selected item.
• The small image itself has to link to the other suitable page.
• This can be done by applying a link to each of the small image
on a page. Here the image is considered as hot text.
• Instead of using text as hyperlink, here we will use image as
hyperlink
• Since there is no text here, it is identified as hot spot.
2
Image Map
• In previous section, we have added a link to an image.
• It is also possible to add multiple links to an image.
Each link points to different reference.
• To create multiple links within a single image, we need
to create multiple clickable locations within the
image.
• Clicking on each such location, a particular
reference(page) can be opened. Each such location is
called a hot spot.
• In case you have a map (suppose map of India) then
some regions of the map (states like Gujarat,
Maharashtra etc) can be defined as hot spots. When
one clicks on such hot spot, new web page can be
opened.
3
IMAGE MAP
4
• To do image map, we need image with different shapes like rectangle, circle or
polygon and we will set link on these areas/shapes as hotspot.
• The location of a hot spot is mentioned using the x and y co-ordinates
• Rectangle is measured from the top left and bottom right hand corner.
• Circle need only center value (x,y) and radius
• Polygon with many points
• Syntax:
<img src=“ “ usemap=“#my_list”>
<map name="my_list">
<area shape="rect/circle/poly" coords=" " alt="some text goes here" href="xyz.html">
</map>
• Within the <map> and </map> tags, the hot spot co-ordinates and their corresponding
links are to be specified.
• <map> and <area> tags are used along with a usemap attribute into its image map.
• The map tag has an attribute called name. The map attribute value must be matching with
the usemap attribute.
• The area tag must mention the shape of a hotspot. The valid possible shape are circle,
rectangle (specified by rect) and polygon (specified by poly).
Image Map
5
Linking Multimedia File
• A Video as well as an audio file can be integrated into an HTML document
using an anchor tag
<a href="abc.mp4"> Click here to see the content…..</a>
• If the referred movie file is available on some other website or remote
place, first it will be transferred to the user's computer.
• Such files are stored in local directory of user's computer as temporary
internet files.
• To add a sound file in an HTML code
<a href="xyz.mp3"> Enjoy this sound….!</a>
6
TEXTUAL EXERCISE
7
1) Which of the following tag is used to insert a video file into an HTML document?
href
2) As the image element does not cause a line break, it is also referred to as which of the following?
An inline image
3) Which one of the following is a valid image file format?
Png
4) Which of the following is provided when we use alt attribute of an image?
Alternative description
5) Which of the following attributes specify the values of height and width of the image in pixels?
Height and width
6) Which of the following is not a valid image format?
Imv
7) Which of the following concept is used to display whole image as a link?
Image as hot spot
8) Which of the following are the two types of image maps?
Server side and client side
9) Which of the following tag is used to add an image map?
Map
Textual Exercise
Category 1
1) Which term is used when an image is used as hyperlink
instead of text?
2) Which tag is used to mention the shape of hot spot?
3) Which attribute is used to insert a video or audio file into an
HTML document?
Category 2
1) Which term is used for multiple clickable locations within the
image?
2) Which attribute of <area> tag is used to specify the link of
the hot spots?
3) Which attribute of <img> tag specifies the name of the map?
Brain Storming Session
THANKYOU
9

More Related Content

Similar to Std 10 Computer Chapter 3 Handling Images in HTML (Part 2)

202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx
202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx
202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx
KazmirFahrier
 
Content accessibility guidelines for site management02
Content accessibility guidelines for site management02Content accessibility guidelines for site management02
Content accessibility guidelines for site management02
Matthew Schaefer
 

Similar to Std 10 Computer Chapter 3 Handling Images in HTML (Part 2) (20)

HTML5 - Insert images and Apply page backgrounds
HTML5 - Insert images and Apply page backgroundsHTML5 - Insert images and Apply page backgrounds
HTML5 - Insert images and Apply page backgrounds
 
M02 un07 p02
M02 un07 p02M02 un07 p02
M02 un07 p02
 
HTML & CSS: Chapter 03
HTML & CSS: Chapter 03HTML & CSS: Chapter 03
HTML & CSS: Chapter 03
 
More on HTML Communication Skills BASICS
More on HTML Communication Skills BASICSMore on HTML Communication Skills BASICS
More on HTML Communication Skills BASICS
 
Working with Images
Working with ImagesWorking with Images
Working with Images
 
Html images syntax
Html images syntaxHtml images syntax
Html images syntax
 
Chapter 4 class power point
Chapter 4 class power pointChapter 4 class power point
Chapter 4 class power point
 
Ijcet 06 06_006
Ijcet 06 06_006Ijcet 06 06_006
Ijcet 06 06_006
 
Webdesign + Website thesis
Webdesign + Website thesisWebdesign + Website thesis
Webdesign + Website thesis
 
Html 5 and CSS - Image Element
Html 5 and CSS - Image ElementHtml 5 and CSS - Image Element
Html 5 and CSS - Image Element
 
HTML Repurposing Content.pptx
HTML Repurposing Content.pptxHTML Repurposing Content.pptx
HTML Repurposing Content.pptx
 
Image Mapping.pptx
Image Mapping.pptxImage Mapping.pptx
Image Mapping.pptx
 
Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)
Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)
Std 10 Computer Chapter 3 Handling Images in HTML (Part 1)
 
Expressit Concept Document
Expressit Concept DocumentExpressit Concept Document
Expressit Concept Document
 
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHESSECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
SECURE IMAGE RETRIEVAL BASED ON HYBRID FEATURES AND HASHES
 
Expressit Concept Document
Expressit Concept DocumentExpressit Concept Document
Expressit Concept Document
 
3. react - native: component
3. react - native: component3. react - native: component
3. react - native: component
 
202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx
202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx
202224010101 RAHMAN SHIDDIQUR - Image Stitching.pptx
 
5031
50315031
5031
 
Content accessibility guidelines for site management02
Content accessibility guidelines for site management02Content accessibility guidelines for site management02
Content accessibility guidelines for site management02
 

More from Nuzhat Memon

More from Nuzhat Memon (20)

Std 10 chapter 11 data type, expression and operators important MCQs
Std 10 chapter 11 data type, expression and operators important MCQsStd 10 chapter 11 data type, expression and operators important MCQs
Std 10 chapter 11 data type, expression and operators important MCQs
 
Std 10 Chapter 10 Introduction to C Language Important MCQs
Std 10 Chapter 10 Introduction to C Language Important MCQsStd 10 Chapter 10 Introduction to C Language Important MCQs
Std 10 Chapter 10 Introduction to C Language Important MCQs
 
Std 12 chapter 7 Java Basics Important MCQs
Std 12 chapter 7 Java Basics Important MCQsStd 12 chapter 7 Java Basics Important MCQs
Std 12 chapter 7 Java Basics Important MCQs
 
Std 12 computer chapter 8 classes and objects in java important MCQs
Std 12 computer chapter 8 classes and objects in java important MCQsStd 12 computer chapter 8 classes and objects in java important MCQs
Std 12 computer chapter 8 classes and objects in java important MCQs
 
Std 12 Computer Chapter 6 object oriented concept important mcqs
Std 12 Computer Chapter 6 object oriented concept important mcqsStd 12 Computer Chapter 6 object oriented concept important mcqs
Std 12 Computer Chapter 6 object oriented concept important mcqs
 
Std 12 computer chapter 6 object oriented concepts (part 1)
Std 12 computer chapter 6 object oriented concepts (part 1)Std 12 computer chapter 6 object oriented concepts (part 1)
Std 12 computer chapter 6 object oriented concepts (part 1)
 
Std 12 computer chapter 6 object oriented concepts (part 2)
Std 12 computer chapter 6 object oriented concepts (part 2)Std 12 computer chapter 6 object oriented concepts (part 2)
Std 12 computer chapter 6 object oriented concepts (part 2)
 
Std 12 computer java basics part 3 control structure
Std 12 computer java basics part 3 control structureStd 12 computer java basics part 3 control structure
Std 12 computer java basics part 3 control structure
 
Std 12 Computer Chapter 7 Java Basics (Part 2)
Std 12 Computer Chapter 7 Java Basics (Part 2)Std 12 Computer Chapter 7 Java Basics (Part 2)
Std 12 Computer Chapter 7 Java Basics (Part 2)
 
Std 12 Computer Chapter 7 Java Basics (Part 1)
Std 12 Computer Chapter 7 Java Basics (Part 1)Std 12 Computer Chapter 7 Java Basics (Part 1)
Std 12 Computer Chapter 7 Java Basics (Part 1)
 
Std 12 Computer Chapter 13 other useful free tools and services important MCQs
Std 12 Computer Chapter 13 other useful free tools and services important MCQsStd 12 Computer Chapter 13 other useful free tools and services important MCQs
Std 12 Computer Chapter 13 other useful free tools and services important MCQs
 
Std 12 Computer Chapter 9 Working with Array and String in Java important MCQs
Std 12 Computer Chapter 9 Working with Array and String in Java important MCQsStd 12 Computer Chapter 9 Working with Array and String in Java important MCQs
Std 12 Computer Chapter 9 Working with Array and String in Java important MCQs
 
Std 12 computer chapter 8 classes and object in java (part 2)
Std 12 computer chapter 8 classes and object in java (part 2)Std 12 computer chapter 8 classes and object in java (part 2)
Std 12 computer chapter 8 classes and object in java (part 2)
 
Std 10 computer chapter 10 introduction to c language (part2)
Std 10 computer chapter 10 introduction to c language (part2)Std 10 computer chapter 10 introduction to c language (part2)
Std 10 computer chapter 10 introduction to c language (part2)
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)
 
Std 10 computer chapter 9 Problems and Problem Solving
Std 10 computer chapter 9 Problems and Problem SolvingStd 10 computer chapter 9 Problems and Problem Solving
Std 10 computer chapter 9 Problems and Problem Solving
 
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...
 
Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)
Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)
Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)
 
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1 Basics Opera...
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1  Basics Opera...Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1  Basics Opera...
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1 Basics Opera...
 
Std 11 Computer Chapter 4 Introduction to Layers (Part 3 Solving Textual Exe...
Std 11 Computer Chapter 4 Introduction to Layers  (Part 3 Solving Textual Exe...Std 11 Computer Chapter 4 Introduction to Layers  (Part 3 Solving Textual Exe...
Std 11 Computer Chapter 4 Introduction to Layers (Part 3 Solving Textual Exe...
 

Recently uploaded

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
 
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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.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
 

Recently uploaded (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
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.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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
 
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
 
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
 
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Ữ Â...
 
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
 
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
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 

Std 10 Computer Chapter 3 Handling Images in HTML (Part 2)

  • 1. Chapter 3 Handling Images in HTML Image as a Hot Spot Image Map Linking Multimedia Files Solving Textual Exercise
  • 2. Image as a Hot Spot • In Online shopping sites we see small images of many items displayed with brief information of each, and when we click on these small image to see detailed information then we are redirected to a page containing the bigger and good quality image of the selected item. • The small image itself has to link to the other suitable page. • This can be done by applying a link to each of the small image on a page. Here the image is considered as hot text. • Instead of using text as hyperlink, here we will use image as hyperlink • Since there is no text here, it is identified as hot spot. 2
  • 3. Image Map • In previous section, we have added a link to an image. • It is also possible to add multiple links to an image. Each link points to different reference. • To create multiple links within a single image, we need to create multiple clickable locations within the image. • Clicking on each such location, a particular reference(page) can be opened. Each such location is called a hot spot. • In case you have a map (suppose map of India) then some regions of the map (states like Gujarat, Maharashtra etc) can be defined as hot spots. When one clicks on such hot spot, new web page can be opened. 3
  • 4. IMAGE MAP 4 • To do image map, we need image with different shapes like rectangle, circle or polygon and we will set link on these areas/shapes as hotspot. • The location of a hot spot is mentioned using the x and y co-ordinates • Rectangle is measured from the top left and bottom right hand corner. • Circle need only center value (x,y) and radius • Polygon with many points
  • 5. • Syntax: <img src=“ “ usemap=“#my_list”> <map name="my_list"> <area shape="rect/circle/poly" coords=" " alt="some text goes here" href="xyz.html"> </map> • Within the <map> and </map> tags, the hot spot co-ordinates and their corresponding links are to be specified. • <map> and <area> tags are used along with a usemap attribute into its image map. • The map tag has an attribute called name. The map attribute value must be matching with the usemap attribute. • The area tag must mention the shape of a hotspot. The valid possible shape are circle, rectangle (specified by rect) and polygon (specified by poly). Image Map 5
  • 6. Linking Multimedia File • A Video as well as an audio file can be integrated into an HTML document using an anchor tag <a href="abc.mp4"> Click here to see the content…..</a> • If the referred movie file is available on some other website or remote place, first it will be transferred to the user's computer. • Such files are stored in local directory of user's computer as temporary internet files. • To add a sound file in an HTML code <a href="xyz.mp3"> Enjoy this sound….!</a> 6
  • 7. TEXTUAL EXERCISE 7 1) Which of the following tag is used to insert a video file into an HTML document? href 2) As the image element does not cause a line break, it is also referred to as which of the following? An inline image 3) Which one of the following is a valid image file format? Png 4) Which of the following is provided when we use alt attribute of an image? Alternative description 5) Which of the following attributes specify the values of height and width of the image in pixels? Height and width 6) Which of the following is not a valid image format? Imv 7) Which of the following concept is used to display whole image as a link? Image as hot spot 8) Which of the following are the two types of image maps? Server side and client side 9) Which of the following tag is used to add an image map? Map Textual Exercise
  • 8. Category 1 1) Which term is used when an image is used as hyperlink instead of text? 2) Which tag is used to mention the shape of hot spot? 3) Which attribute is used to insert a video or audio file into an HTML document? Category 2 1) Which term is used for multiple clickable locations within the image? 2) Which attribute of <area> tag is used to specify the link of the hot spots? 3) Which attribute of <img> tag specifies the name of the map? Brain Storming Session