Review Html+css (7)

Source: Internet
Author: User

n HTML annotations

<--! Comment Content--

Note: The comment content is not displayed, and the comment is for future maintenance.

n photo hotspots (image map)

Image hotspot: Add multiple links to a picture, and by default, only one link can be added to a picture.

1. Marking structure:

<map id= "Map" >

<area shape= "hot zone shape" coords= "hot Zone coordinates" href= "link Address" >

<area shape= "hot zone shape" coords= "hot Zone coordinates" href= "link Address" >

<area shape= "hot zone shape" coords= "hot Zone coordinates" href= "link Address" >

</map>

2. Common Properties of <area> tags

    • Shape: Shapes of hot regions, values: Rect (Rectangle), Circle (Circle), Polygon (polygon)
    • Coords: Coordinates of the hot zone (position)

L if Shape=rect, then, coords= "X1,y1,x2,y2" for example: coords= "50,50,200,150"

N (x1,y1) is the coordinate value of the upper-left corner of the rectangle, and (x2,y2) is the coordinate value of the lower-right corner of the rectangle

L if shape=circle, then, coords= "X,y,r", where (x, y) is the center coordinate, R is the radius,

Review Html+css (7)

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.