html area tag
Translation results:
UK [ˈeəriə] US [ˈeriə]
n.Region; domain; area, scope; area, flat land
Plural: areas
html area tagsyntax
Function:Image mapping with clickable areas
Description:The usemap attribute in <img> can refer to the id in <map> Or name attribute (determined by the browser), so we need to add both id and name attributes to <map>.
Note: <area> tag defines the area in the image map (Note: Image map refers to an image with a clickable area). The area element is always nested within a <map> tag. The usemap attribute in the <img> tag is associated with the name attribute of the map element, creating a connection between the image and the map.
html area tagexample
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <img src="//m.sbmmt.com/tpl/Index/Static/img/banner7.jpg" border="0" usemap="#studymap" alt="study" /> <map name="studymap" id="studymap"> <area shape="circle" coords="180,139,14" href ="//m.sbmmt.com" /> <area shape="circle" coords="129,161,10" href ="//m.sbmmt.com" /> <area shape="rect" coords="0,0,110,260" href ="//m.sbmmt.com" /> </map> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance