User:Eleanorg/1.2/Forbidden Pixels/Html image map: Difference between revisions

From XPUB & Lens-Based wiki
(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> ...")
 
No edit summary
Line 1: Line 1:
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.
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">
<source lang="html4strict">
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>

Revision as of 13:31, 19 March 2012

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>