I'm only a beginner in html and I would like to put hover effects for my image map. I have searched for lots of solutions but I only come up with solutions using script which I don't understand.
How does this script work? I tried using
area:hover {
border: 1px solid white;
}
But it does not work.
What you're trying to do is not very simple, you will have to combine javascript and css or jquery to give the effect you want.
It's because the area
element doesn't accept hover
directly, unfortunately...
But the good news is that it was answered before here: