YouTip LogoYouTip

Att Object Usemap

## HTML `usemap` Attribute The `usemap` attribute of the `` element is used to associate an image map with an embedded object (typically an image). An image map is an image with defined clickable active areas that link to different destinations. By referencing the `name` attribute of a `` element, the `usemap` attribute establishes a direct relationship between the object and the interactive map. --- ## Browser Support | Attribute | Chrome | Edge/IE | Firefox | Opera | Safari | | :--- | :--- | :--- | :--- | :--- | :--- | | **`usemap`** | ❌ Not Supported | Supported | Supported | Supported | ❌ Not Supported | > **Note:** While the `usemap` attribute is part of the HTML specification for the `` element, modern webkit-based browsers like Google Chrome and Apple Safari do not support it on ``. For cross-browser compatibility, it is highly recommended to use the `usemap` attribute on the standard `` element instead. --- ## Syntax ```html ``` ### Attribute Values | Value | Description | | :--- | :--- | | `#mapname` | A hash symbol (`#`) followed by the name of the `` element to be used (matching the `` element's `name` attribute). | --- ## Code Example The following example demonstrates how to use the `usemap` attribute with an `` element to create clickable regions on an image: ```html HTML object usemap Example

Interactive Planet Map using <object>

Your browser does not support the object tag. Sun Mercury Venus ``` --- ## HTML 4.01 vs. HTML5 There are no functional differences for this attribute between HTML 4.01 and HTML5. However, due to modern browser implementation discrepancies, using `` is the preferred industry standard for implementing image maps today.
← Att Object VspaceAtt Object Type β†’

YouTip © 2024-2026 | Home | Learn Technology, Build Dreams!

All content is for educational and learning purposes only.