Can I make image change only by part of it?

Can I make image change only by part of it?


In html, we can assign a link irregularly by syntax like below, can I
do the same thing?
<map name="Map" id="Map">
<area shape="poly" coords="17,93,30,37,69,30,69,60,43,48" href="#" />
</map>