lesson01_08 image Map _ Basic tutorial

Source: Internet
Author: User
1. Image hyperlink:
The format is:

2. What is image map?
Divide a diagram into multiple areas, each pointing to a different URL address

3. How to produce image map
(1) First to define the image of the hotspot area of the shape, location coordinates, and its point to the URL address information, this process is called image hotspot mapping.
This process is illustrated with a label pair, where the Name property specifies a title for the hotspot map.
(2) Each area of the map in the image hotspot is labeled with the label in the following format:
The href section can also be represented by nohref, which means that clicking in this area is not valid. (3) Once defined, add a property set named Usemap to the image label as follows:

Example: The code is as follows:
The effect is as follows: 

The setting description for the Shape property:

  • Rect defines a rectangular area, the Coords property is set to the upper-left corner of the rectangle, the coordinates of the lower-right corner, the coordinate values are separated by the number;
  • Poly defines the area of a polygon, and the Coords property sets the value to the coordinate value of each vertex of the polygon;
  • Cicle defines a circular area, the Coords property sets the value of the circle coordinate and the radius, the first two coordinates, and the latter the radius.

    Example: The code is as follows: The effect is as follows: The code is as follows: Example: The code is as follows: The following: Example: The code is as follows: Example: The code is as follows: Example: The code is as follows:

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.