User:Eleanorg/1.2/Forbidden Pixels/Html image map

From XPUB & Lens-Based wiki
< User:Eleanorg‎ | 1.2/Forbidden Pixels
Revision as of 12:31, 19 March 2012 by Eleanorg (talk | contribs) (Created page with "wow, can you belive it's my first time using html image map! it is as if a wondrous vista has opened before me. or something. <source lang="html4srict"> <!DOCTYPE html> <html> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

wow, can you belive it's my first time using html image map! it is as if a wondrous vista has opened before me. or something.

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <style type="text/css">
    </style>
  </head>
  
<body>

<img src="20by10PixelsSection1.png" alt="small image" usemap="#pixelMap" />
<map name="pixelMap">
  <area shape="rect" coords="0,0,1,1," alt="firstPixel" href="http://google.com" /> <!-- area covered: top left pixel? or 4 top left pixels? -->
</map>

</body>

</html>