코드:
결과보기 »
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>HTML area tag - media attribute</title> </head> <body> <img src="/examples/images/img_imagemap.jpg" alt="진실 혹은 거짓" usemap="#vending" style="width:320px; height:240px"> <map name="vending"> <area shape="poly" coords="50,150,230,120,230,180,50,210" alt="진실" href="/examples/images/truth.jpg" media="screen and (min-color-index:512)"> </map> <p>표지판을 눌러보세요!!</p> </body> </html>