Open In App

HTML | ismap Attribute

Last Updated : 24 Aug, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The HTML ismap attribute is a boolean attribute. When exist, it specifies that the image is a component element of a server-side image-map (an image-map is a picture with clickable areas).
When clicking on a server-side image-map, the press coordinates square measure sent to the server as a URL query string

Applies to:

Syntax:

<img ismap>

Example:




<!DOCTYPE html>
<html>
  
<body>
    <center>
        <h1 style="color:green">
            GeeksforGeeks
        </h1>
        <h2>HTML ismap Attribute</h2>
    <a href="#">
        <img src="img3.png"
             alt="GFG.com" 
             width="400"
             height="150" 
             ismap>
    </a>
    </center>
</body>
  
</html>


Output:
Before:

After clicking on the image:

Supported Browsers: The browser supported by HTML max Attribute are listed below:

  • Google Chrome 1
  • Edge 12
  • Opera 12.1
  • Safari 3
  • Firefox 1

Previous Article
Next Article

Similar Reads

HTML | &lt;img&gt; ismap Attribute
The HTML &lt;img&gt; ismap Attribute is a Boolean attribute. When exist, it specifies that the image is a component element of a server-side image-map (an image-map is a picture with clickable areas). When clicking on a server-side image-map, the press coordinates square measure sent to the server as a URL query string. Note: This attribute is perm
1 min read
What is the use of ismap Attribute in &lt;img&gt; Tags ?
The ismap attribute in &lt;img&gt; tags is used to specify an image as a server-side image map. This attribute indicates that the image should be treated as an image map, allowing clickable regions within the image to be defined by server-side scripting. Syntax&lt;img src="image.jpg" ismap&gt;"image.jpg" is the URL of the image file.Key PointDescri
2 min read
HTML DOM Image isMap Property
The HTML DOM Image isMap Property is used to set or return whether the image is a component of a server-side image map. An image map is a picture with clickable areas. When clicking on a server-side image-map, the press coordinates square measure sent to the server as a URL query string. Note: This attribute is permitted only if the &lt;img&gt; ele
2 min read
Node.js util.types.isMap() Method
The util.types.isMap() method is an inbuilt application programming interface of util module which is primarily designed to support the needs of Node.js own internal APIs. The util.types.isMap() method is used to determine whether the value is a built-in Map instance or not. Syntax: util.types.isMap( value ) Parameters: This method accepts a single
2 min read
Underscore.js _.isMap() Function
Underscore.js is a library in javascript that makes operations on arrays, string, objects much easier and handy. _.isMap() function is used to check whether the given object is javascript Map or not. Note: It is very necessary to link the underscore CDN before going and using underscore functions in the browser. When linking the underscore.js CDN T
2 min read
Lodash _.isMap() Method
Lodash _.isMap() method checks whether the given value is a map object or not and returns the corresponding boolean value. Syntax:_.isMap( value );Parameters: value: This parameter holds the value that needs to be checked for a map object.Return Value: This method returns a Boolean value(Returns true if the given value is a map object, else false).
1 min read
How href attribute is different from src attribute in HTML ?
In HTML5, the href and src attributes play distinct roles in defining paths or URLs, each associated with specific HTML elements. The href attribute, commonly found in an anchor (&lt;a&gt;) elements, points to the destination of hyperlinks, facilitating navigation. The src attribute, used with elements like &lt;img&gt; and &lt;script&gt;, specifies
1 min read
When to use the class attribute and the id attribute ?
The class attribute is used when multiple HTML elements share a common style or behaviour, allowing the application of a shared style to several elements. It promotes code reusability and is suitable for elements with similar characteristics. The id attribute is utilized when a unique identifier is needed for a specific HTML element. This identifie
1 min read
How to use the target attribute and the rel attribute in the &lt;a&gt; Tag ?
The target and rel attributes in the &lt;a&gt; (anchor) tag is used to control the behaviour of hyperlinks, specifying how the linked content should be opened and establishing relationships between the current and linked documents. Here's how to use these attributes: target Attribute:The target attribute determines where the linked content will be
2 min read
HTML | &lt;html&gt; xmlns Attribute
The HTML &lt;html&gt; xmlns Attribute is used to specify the xml namespace for a document. Important Note: This attribute is mainly required in XHTML, not valid in HTML 4.01, and optional in HTML 5. Syntax: &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; Attribute Values: https://www.geeksforgeeks.org/ It defines the namespace to use (for XHTML d
1 min read