SlideShare a Scribd company logo
Unit 7 – Images Presentation   2 Web Programming
Objectives At the end of this presentation, you will be able to Convert images into hyperlinks Add image maps to your Web page Add image as background of your Web page
  Image Map Different parts of an image can also be used as hyperlinks.  This is known as Image Map
  Hands-On! Open the HTML file  Imagemap.html  in  C:\HTML\Unit7\Hands On  Folder in Internet Explorer. This HTML document illustrates how to Image Map works. The output is shown in the next slide.
  Hands-On!
Image Tag Three tags are used to create an Image map. They are: <IMG> tag Src  attribute to specify the image to be displayed  Usemap  attribute is used as a reference  value of the Usemap attribute should be preceded by  #  symbol.
Image Tag <MAP> tag is used to convert different areas of the image into hyperlinks  Id attribute specifies the name of the Image map  The names given in the Id attribute and Usemap attribute should be same
Image Tag The <AREA> tag specifies area of the part of the image to be used as hyperlink  Shape attribute specifies the shape of the area to be used as hyperlink. Coords attribute specifies the coordinate values for the shape. Example: <AREA Shape=&quot;Rect&quot; Coords = &quot;60,90,140,160&quot; Alt=&quot;Ribs&quot; Href=&quot;Ribs.html&quot;>
Lab Exercise Write a HTML code to display the output as given in the following Figure. When you clicked on the pond, a Web page should show the close-up view of the pond.
Background Images can also be added as background of a Web page.   BACKGROUND attribute of the <BODY> tag is used to add image background. Example: <BODY BACKGROUND=”Pinakki.jpg”>
Activity 2.7.2 Create a Web page that explains how to add images as shown in Figure. Save the HTML file as Activity2.html  in C:\HTML\Unit7\Activity folder.  The Image hyperlink at the bottom of the page should be linked to  Activity1.html.
Activity 2.7.2 Contd.
Summary In this presentation, you learnt the following: The concept of different parts of an Image acting as hyperlink is called  Image Map . To add an image as a background instead of colour, replace BGCOLOR with BACKGROUND attribute in the <BODY> tag.
Assignment Name the tags and attributes to create an Image map. How an image can be displayed as a background of a Web page?

More Related Content

PPTX
Step by step process of a double page spread pheonix
PPTX
Editing photo
PPTX
ASM CWK: InDesign Guide.
PPT
Linking
PPTX
Step by step contents page
PPTX
Content Page Tools
PPTX
Step by step process of a double page spread pheonix
PPTX
Step by step process of contents page
Step by step process of a double page spread pheonix
Editing photo
ASM CWK: InDesign Guide.
Linking
Step by step contents page
Content Page Tools
Step by step process of a double page spread pheonix
Step by step process of contents page

Viewers also liked (20)

PPT
Aνοιξη της Ευρώπης - Γωγώ
PPT
Stelline 2011 qr
PPT
Youth Campaigns & Social Media - Oct 2008
PDF
week13
PPT
Apprendimento collaborativo e apprendimento esperienziale in Second Life
PPT
Unit 1.4 Introduction to Programming
PDF
Gauteng Freeways
PPT
Croatia recica
DOCX
Afectar al paciente
PPT
Orientamenti di social media marketing
PPT
Technology for tots
PPTX
A Long Walk to Water - Lssn 10
PPTX
A Long Walk to Water: Lesson15 unit2
PPT
Tpcc Slideshow
PPT
re RainbowTwtr - 構造化テキストの安全なエスケープ手法について
PPT
Bing Bang
PPT
M02 un01 p01
PPTX
How To Pass A Ruby Code Test
PPTX
Laws of marketing presentation
PDF
ruchome miejsca i etnografia translokalności
Aνοιξη της Ευρώπης - Γωγώ
Stelline 2011 qr
Youth Campaigns & Social Media - Oct 2008
week13
Apprendimento collaborativo e apprendimento esperienziale in Second Life
Unit 1.4 Introduction to Programming
Gauteng Freeways
Croatia recica
Afectar al paciente
Orientamenti di social media marketing
Technology for tots
A Long Walk to Water - Lssn 10
A Long Walk to Water: Lesson15 unit2
Tpcc Slideshow
re RainbowTwtr - 構造化テキストの安全なエスケープ手法について
Bing Bang
M02 un01 p01
How To Pass A Ruby Code Test
Laws of marketing presentation
ruchome miejsca i etnografia translokalności
Ad

Similar to M02 un07 p02 (20)

PPT
M02 un07 p01
PPT
M02 un03 p03
PPTX
CAP 756 UNIT 1.pptx
PPTX
TopicHero Descriptions Tutorial
PPT
EPiServer Web Parts
PDF
Webinar: Front End Web Development - Trendy Web Designs Using HTML5
PPT
Yahoo Mobile Widgets
PPT
BluePrint Mobile Framework
PPTX
Presentation on HTML
PPT
Html 5 and CSS - Image Element
PPTX
Html images and html backgrounds
PPTX
Web Page Designing Using HTML
PPT
Download Workshop Lecture
PPTX
Project 03 Creating Web Pages with Links, Images, and Formatted Text
PPTX
HTML Attributes.pptx
PPTX
Google Map Code
PPT
331592291-HTML-and-Cascading style sheet
PPT
Useful Rails Plugins
PPTX
Code to Add Google Map to Websites
PPT
M02 un08 p01
M02 un07 p01
M02 un03 p03
CAP 756 UNIT 1.pptx
TopicHero Descriptions Tutorial
EPiServer Web Parts
Webinar: Front End Web Development - Trendy Web Designs Using HTML5
Yahoo Mobile Widgets
BluePrint Mobile Framework
Presentation on HTML
Html 5 and CSS - Image Element
Html images and html backgrounds
Web Page Designing Using HTML
Download Workshop Lecture
Project 03 Creating Web Pages with Links, Images, and Formatted Text
HTML Attributes.pptx
Google Map Code
331592291-HTML-and-Cascading style sheet
Useful Rails Plugins
Code to Add Google Map to Websites
M02 un08 p01
Ad

More from Intan Jameel (20)

PDF
1.3 Process and Information Layout
PDF
Unit 2.10 - Frames
PPT
M02 un11 p02
PPT
M02 un10 p02
PPT
M02 un10 p01
PPT
M02 un09 p02
PPT
M02 un09 p01
PPT
M02 un06 p02
PPT
M02 un06 p01
PPT
M02 un05 p02
PPT
M02 un05 p01
PPT
M02 un04 p04
PPT
M02 un04 p03
PPT
M02 un04 p02
PPT
M02 un04 p01
PPT
M02 un12 p01
PPT
M02 un11 p01
PPT
Unit 2.3 Part 1
PPT
Unit 2.2 Part 1
PPT
Unit 2.1 Part 4
1.3 Process and Information Layout
Unit 2.10 - Frames
M02 un11 p02
M02 un10 p02
M02 un10 p01
M02 un09 p02
M02 un09 p01
M02 un06 p02
M02 un06 p01
M02 un05 p02
M02 un05 p01
M02 un04 p04
M02 un04 p03
M02 un04 p02
M02 un04 p01
M02 un12 p01
M02 un11 p01
Unit 2.3 Part 1
Unit 2.2 Part 1
Unit 2.1 Part 4

Recently uploaded (20)

PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Hybrid model detection and classification of lung cancer
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mushroom cultivation and it's methods.pdf
PPTX
A Presentation on Touch Screen Technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Encapsulation theory and applications.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
Enhancing emotion recognition model for a student engagement use case through...
A comparative study of natural language inference in Swahili using monolingua...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
WOOl fibre morphology and structure.pdf for textiles
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars
Hybrid model detection and classification of lung cancer
Unlocking AI with Model Context Protocol (MCP)
Mushroom cultivation and it's methods.pdf
A Presentation on Touch Screen Technology
Programs and apps: productivity, graphics, security and other tools
A comparative analysis of optical character recognition models for extracting...
A novel scalable deep ensemble learning framework for big data classification...
cloud_computing_Infrastucture_as_cloud_p
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Encapsulation theory and applications.pdf
Chapter 5: Probability Theory and Statistics
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Group 1 Presentation -Planning and Decision Making .pptx

M02 un07 p02

  • 1. Unit 7 – Images Presentation 2 Web Programming
  • 2. Objectives At the end of this presentation, you will be able to Convert images into hyperlinks Add image maps to your Web page Add image as background of your Web page
  • 3. Image Map Different parts of an image can also be used as hyperlinks. This is known as Image Map
  • 4. Hands-On! Open the HTML file Imagemap.html in C:\HTML\Unit7\Hands On Folder in Internet Explorer. This HTML document illustrates how to Image Map works. The output is shown in the next slide.
  • 6. Image Tag Three tags are used to create an Image map. They are: <IMG> tag Src attribute to specify the image to be displayed Usemap attribute is used as a reference value of the Usemap attribute should be preceded by # symbol.
  • 7. Image Tag <MAP> tag is used to convert different areas of the image into hyperlinks Id attribute specifies the name of the Image map The names given in the Id attribute and Usemap attribute should be same
  • 8. Image Tag The <AREA> tag specifies area of the part of the image to be used as hyperlink Shape attribute specifies the shape of the area to be used as hyperlink. Coords attribute specifies the coordinate values for the shape. Example: <AREA Shape=&quot;Rect&quot; Coords = &quot;60,90,140,160&quot; Alt=&quot;Ribs&quot; Href=&quot;Ribs.html&quot;>
  • 9. Lab Exercise Write a HTML code to display the output as given in the following Figure. When you clicked on the pond, a Web page should show the close-up view of the pond.
  • 10. Background Images can also be added as background of a Web page. BACKGROUND attribute of the <BODY> tag is used to add image background. Example: <BODY BACKGROUND=”Pinakki.jpg”>
  • 11. Activity 2.7.2 Create a Web page that explains how to add images as shown in Figure. Save the HTML file as Activity2.html in C:\HTML\Unit7\Activity folder. The Image hyperlink at the bottom of the page should be linked to Activity1.html.
  • 13. Summary In this presentation, you learnt the following: The concept of different parts of an Image acting as hyperlink is called Image Map . To add an image as a background instead of colour, replace BGCOLOR with BACKGROUND attribute in the <BODY> tag.
  • 14. Assignment Name the tags and attributes to create an Image map. How an image can be displayed as a background of a Web page?