HTML CSS examples for HTML Tag:map
You can create a client-side image map.
Clicking on regions in an image can cause the browser to navigate to different URLs.
The map Element summary
Item | Value |
---|---|
Element: | map |
Local Attributes: | name |
Contents: | One or more area elements |
Tag Style: | Start and end tags |
New in HTML5? | No |
Changes in HTML5 | If the id attribute is used, it must have the same value as the name attribute. |
Style Convention | None |
The map element contains one or more area elements, each of which denotes a region in the image that can be clicked on.
<html> <head></head> <body></body> </html><!-- w w w . ja v a 2 s. c o m-->