Home >Web Front-end >HTML Tutorial >Example of using UserMap in IMG_HTML/Xhtml_Web page production

Example of using UserMap in IMG_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:39:411472browse

usemap is an attribute of the tag, used to indicate the image map name used. The Map behind the #Map in

is an image map defined with the tag. Its name attribute is Map, defined as follows:

Copy code
The code is as follows:




...


When using:

Copy the code
The code is as follows:



Image map divides an image into several areas. Clicking on different areas will lead to different pages.

In order to create a client image, you need to add a new attribute USEMAP as follows:

Copy code
Code As follows:



Attribute USEMAP (use image) accepts segmented super link so image definition information can be stored in the same HTML file.

Copy code
The code is as follows:








Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn