8 image maps

SatyakiDas12 285 views 5 slides Aug 09, 2021
Slide 1
Slide 1 of 5
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5

About This Presentation

8 image maps


Slide Content

Image Image Maps Use the <map> tag to define an image-map. An image-map is an image with clickable areas. In the image below, click on the computer, the phone, or the cup of coffee: Satyaki Das | Contact No. 8981838547 .

<!DOCTYPE html> <html> <body> < img src ="workplace.jpg" alt="Workplace" usemap ="# workmap " width="400" height="379"> <map name=" workmap "> <area shape=" rect " coords ="34,44,270,350" alt="Computer" href ="computer.htm"> <area shape=" rect " coords ="290,172,333,250" alt="Phone" href ="phone.htm"> <area shape="circle" coords ="337,300,44" alt="Cup of coffee" href ="coffee.htm"> </map> </body> </html> Image Image Maps

<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <picture> <source media="(min-width: 650px)" srcset ="1.jpg"> < img src ="4.jpg" alt="Student" style=" width:auto ;"> </picture> </body> </html> Image Fun with Image Satyaki Das | Contact No. 8981838547 .

Value Description x1,y1,x2,y2 Specifies the coordinates of the left, top, right, bottom corner of the rectangle (for shape="rect") x,y,radius Specifies the coordinates of the circle center and the radius (for shape="circle") x1,y1,x2,y2,..,xn,yn Specifies the coordinates of the edges of the polygon. If the first and last coordinate pairs are not the same, the browser will add the last coordinate pair to close the polygon (for shape="poly") HTML Image Mapping Satyaki Das | Contact No. 8981838547 .
Tags