Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<map name="theMap"> <area alt="Find out more" style="cursor:pointer;" coords="0,0,10,10" shape="rect" href="#"> </map>
在萤火虫中,区域元素是灰色的。没有影响它的 CSS 样式。地图元素显示清晰。
这是因为我没有在图像的 usemap 属性中添加哈希值。
usemap="theMap"本来应该usemap="#theMap"
usemap="theMap"
usemap="#theMap"