# before name value in usemap

23 views Asked by At

why to put # before the name value in usemap attribute? like this:

    <img src="workplace.jpg" alt="Workplace" usemap="#workmap">
    <map name="workmap">
    </map>

i know i have to use the # before referencing and id in href attribute i dont know exactly why but i thought it's just the special sign of id

I'm still learning so can someone clear this for me please?

i tried using name without the # before it but it didn't work

0

There are 0 answers