Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Is a MAP Tag/Element
What Is a MAP Tag/Element? - XHTML 1.0 Tutorials - Understanding Inline Images and Image Maps
✍: FYIcenter.com
A "map" element is special inline element that you to define map entries to be used by image maps. Here are some basic rules on "map" elements:
Here is a tutorial example of an client-side image map with map entries defined:
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Image Map Entries</title>
</head>
<body>
<h4>Inline Images</h4>
<p style="background-color: #eeeeee; padding: 8px;">
This is a client-side image map test.
Click this image <img src="/moonrise.jpg"" alt="Moonrise"
width="69" height="91" ismap="ismap" usemap="#mymap"/>
to see what happens. Use browser back button to come
back.
<map id="map1" name="mymap">
<area href="http://localhost/upperLeft"
alt="Upper Left" coords="1,1,35,45"/>
<area href="http://localhost/upperRight"
alt="Upper Right" coords="36,1,69,45"/>
<area href="http://localhost/lowerLeft"
alt="Lower Left" coords="1,46,35,91"/>
<area href="http://localhost/lowerRight"
alt="Lower Right" coords="36,46,69,91"/>
</map>
</p>
</body>
</html>
If you save the above document as image_map_entries.html, and view it with
Internet Explorer, you will see an image embedded in a paragraph. Click different parts
of the image to see what happens.

2007-05-12, 5219👍, 0💬
Popular Posts:
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to itera...
interview.FYIcenter.com offers a collections of interview questions and answers for software and Web...
What is a measure in OLAP ? Measures are the key performance indicator that you want to evaluate. To...
How to make elements invisible? Change the "visibility" attribute of the style object associated wit...
How is the MVC design pattern used in Struts framework? In the MVS design pattern, there 3 component...