How to use html area image hotspot
This time I will bring you html areapictureHow to use hotspots, what are the precautionsfor using html area picture hotspots, the following is a practical case, let's take a look.
The mark is mainly used for imagesmap. Through this mark, the area of effect (also called hotspot) can be set in the image map, so that when the user moves the mouse to the specified When the action area is clicked, it will automatically link to the preset page. Its basic syntax structure is as follows:
<area class=type id=Value href=url alt=text shape=area-shape coods=value>
class and id: specify the type and id number of the hotspot respectively.
alt: Alternative text used to set hotspots.
href: used to set the url address linked to the hotspot.
shape and coords: are the two main parameters used to set the shape and size of the hotspot. Its basic usage is as follows:
<area shape="rect" coords="x1, y1,x2,y2" href=url>表示设定热点的形状为矩形,左上角顶点坐标为(X1,y1),右下角顶点坐标为(X2,y2)。 <area shape="circle" coords="x1, y1,r" href=url>表示设定热点的形状为圆形,圆心坐标为(X1,y1),半径为r。 <area shape="poligon" coords="x1, y1,x2,y2 ......" href=url>表示设定热点的形状为多边形,各顶点坐标依次为(X1,y1)、(X2,y2)、(x3,y3) ......。
Note: The positions of x1, y1, x2, y2 are determined based on the picture, not the size of the window.
mark is used to divide the action area in the image map, so the divided action area must be within the area of the image map, so before using the mark to divide the area, HTML must be used Another tag

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to HTML Input Placeholder. Here we discuss the Examples of HTML Input Placeholder along with the codes and outputs.

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
