What does the attribute of area mean?
The area tag defines the area in the image map (Note: Image mapping refers to an image with a clickable area). The area element is always nested in the map tag middle. [Recommended tutorial:HTML tutorial]
Definition and usage
tag defines the area in the image map (Note: Image map refers to images with clickable areas).
area elements are always nested within
Note: The usemap attribute in thetag is associated with the name attribute of the map element, creating a link between the image and the map.
Differences between HTML and XHTML
In HTML,does not have a closing tag.
In XHTML,must be closed properly.
Tips and Notes:
Note: The usemap attribute incan reference the id or name attribute in
Required properties
Properties | Value | Description |
alt | #text | Define the replacement text for this area. |
Optional properties
Global properties
tag supports global attributes in HTML.
Event Attributes
Thetag supports event attributes in HTML.
The above is the detailed content of What does the attribute of area mean?. For more information, please follow other related articles on the PHP Chinese website!