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
Release: 2016-05-16 16:39:41
Original
1494 people have browsed it

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:








Related labels:
img
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template