Maison >interface Web >tutoriel HTML >妙味云课堂之css:其他知识点汇总_html/css_WEB-ITnose
一. 热区
map 热区,area 点击区域
shape="circle" 圆型,coords="圆心点X,圆心点Y,圆的半径"
shape="rect" 矩形,coords="矩形左上角x,矩形左上角Y,矩形右下角X,矩形右下角Y"
shape="poly" 多边形,coords="第一个点X,第一个点Y,第二个点X,第二个点Y..."
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>热区</title><base target="_blank"><img src="bigptr.jpg" usemap="#Map" alt="妙味云课堂之css:其他知识点汇总_html/css_WEB-ITnose" ><map name="Map"> <area shape="circle" coords="378,132,56" href="http://www.baidu.com"> <area shape="rect" coords="462,157,566,217" href="http://www.qq.com"> <area shape="poly" coords="227,251,186,220,168,221,159,234,147,258,141,283,146,300,153, 315,161,329,171,336,182,343,201,343,219,339,235,324,238,319,236,313,231,301,227,290,224, 280,224,272,224,268,226,261" href="http://www.sina.com.cn"></map>