<!doctype html> <html> <body> <img src="https://pbs.twimg.com/profile_images/914475634646171649/M-dN3YON_400x400.jpg" usemap="#tammy"/> <map name="tammy"> <area shape="rect" coords="150,100,200,200" id="right_eye"> <audio src="https://wiki.hgotoh.jp/_media/documents/web/right_eye.wav" preload="auto" id="sound1"/> </area> <area shape="rect" coords="200,200,250,250" id="left_eye"> <audio src="https://wiki.hgotoh.jp/_media/documents/web/left_eye.wav" preload="auto" id="sound2"/> </area> </map> <script> document.getElementById('right_eye').addEventListener('click',function(e){ document.getElementById('sound1').play(); }); document.getElementById('left_eye').addEventListener('click',function(e){ document.getElementById('sound2').play(); }); </script> </body> </html>