IT. Expert System.

HTML

map


Tag Description

The map tag is used to define a client-side image-map. An image-map is an image with clickable areas.

The name attribute is required in the map element and is associated with the image's usemap attribute and creates a relationship between the image and the map.

The map element contains a number of <area> elements, that define the clickable areas in the image map.

This tag has the form:

<map name="text">  

HTML5 and HTML4.01 Differences

None.

Attributes

Attribute Value Description
name mapname (required) Specifies the name for the image-map

Global Attributes

This tag also supports the HTML Global Attributes.

Event Attributes

This tag also supports the HTML Event Attributes.

Examples

The following example shows the basic use of this tag:

<img src ="shapes.gif"
  width="150" height="80"
  alt="Shapes"
  usemap ="#shapemap" />
<map name="shapemap">
  <area shape="rect"
    coords="0,0,50,50"
    href="circle.htm"
    alt="Circle Shape" />
  <area shape="rect"
    coords="50,0,50,50"
    href="square.htm"
    alt="Square Shape" />
  <area shape="rect"
    coords="100,0,50,50"
    href="triangle.htm"
    alt="Triangle Shape" />
</map>

Browser Support

Chrome Firefox IE Safari Opera

Doctype Declaration Support

The following table lists the doctype declarations this element may appear in:

HTML4.01 / XHTML1.0 XHTML 1.1 HTML 5
Traditional Strict Frameset

Miscellaneous Information

Defined In: HTML 3.2
Empty Tag: No


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1623 / . Delta: 0.03350 с