BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XHTML
The XHTML <link> Tag
The XHTML <li> Tag
The XHTML <legend> Tag
The XHTML <label> Tag
The XHTML <ins> Tag
The XHTML <input> Tag
The XHTML <img> Tag
The XHTML <iframe> Tag
The XHTML <html> Tag
The XHTML <hr> Tag
The XHTML <head> Tag
The XHTML <h1_h6> Tag
The XHTML <frameset> Tag
The XHTML <frame> Tag
The XHTML <form> Tag
The XHTML <font_style_tags> Tag
The XHTML <font> Tag
The XHTML <fieldset> Tag
The XHTML <dt> Tag
The XHTML <documenttype> Tag
<< XALAN
XML DOM >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :2058

 

The <map> Tag (XHTML Reference)

Introduction

With the <map> tag you are defining a link-sensitive area in an image and is always used in conjunction with the <image> tag. Usually you can only bind one link to an image; however with the map tag you can define different areas in one image with different links. Just think about a country map where you have one big image and want to allow the user to press on any each city. In that situation you could make use of the map tag. As mentioned the map tag is only the definition; the real work is done with the <area> tag. Please take a look at the <area> tag for more information.

Example

<map name="MyRectArea">

<area shape="rect" coords="0,0,84,72" href="http://www.topxml.com/" alt="Link One">

<area shape="rect" coords="92,0,172,72" href="http://www.topxml.com/" alt="Link two">

<area shape="rect" coords="0,79,85,146" href="http://www.topxml.com/" alt="Link three">

<area shape="rect" coords="92,79,172,146" href="http://www.topxml.com/" alt="Link four">

</map>

<img src="area.jpg" usemap="#MyRectArea" border="0">

Output

Attributes

Name:

Description:

id

Specifies a unique id for the map.

name

The name of the map is defined through this attribute. This name is used in the “usemap” attribute of the image tag. The image can then use the map through this name.


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Integration Specialist Needed - Wor
Virtualization Server Infrastructur
A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En

View all Jobs (Add yours)
View all CV (Add yours)




Chicago Web Site Design
conference call review
help desk support
Christian Dior sunglasses
air freshener
odor remover


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP