vendredi 18 juin 2021

HTML5 IMAGE MAPPING

<!DOCTYPE html>
<html>
    <head><title>Answer 6</title></head>
    <body>
        <img src="C:\Users\HP\OneDrive\Desktop\map_image.jpg" usemap="#new">
        <map name="new">
        </map>
        <area shape="rect"coords="68,51,275,182" href="https://en.wikipedia.org/wiki/North_America">
        <area shape="rect"coords="501,57,736,221" href="https://en.wikipedia.org/wiki/Asia">
        <area shape="rect"coords="206,239,321,405" href="https://en.wikipedia.org/wiki/South_America">
        <area shape="rect"coords="345,173,474,361" href="https://en.wikipedia.org/wiki/Africa">
        <area shape="rect"coords="142,449,726,495" href="https://en.wikipedia.org/wiki/Antarctica">
        <area shape="rect"coords="661,311,768,375" href="https://en.wikipedia.org/wiki/Australia">
        <area shape="rect"coords="379,63,492,142" href="https://en.wikipedia.org/wiki/Europe">
        </map>
    </body>
    </html>

I am just not getting it that where lies the error!!!!!!!!!!! I have done mapping correctly but still when I click on the image it does not maps to the link!! Please can anyone explain??




Aucun commentaire:

Enregistrer un commentaire