首页
极刻
圈子
教程
开源
登录 / 注册
返回教程:HTML 教程
TRY RUN / 在线示例
HTML 创建图像映射
HTML 创建图像映射
源代码
运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>安科教程(www.ancii.com)</title> </head> <body> <p>点击太阳或其他行星,注意变化:</p> <img src="/statics/images/course/planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap"> <map name="planetmap"> <area shape="rect" coords="0,0,82,126" target="_blank" alt="Sun" href="/tutorial/statics/images/course/sun.gif"> <area shape="circle" coords="90,58,3" target="_blank" alt="Mercury" href="/tutorial/statics/images/course/merglobe.gif"> <area shape="circle" coords="124,58,8" target="_blank" alt="Venus" href="/tutorial/statics/images/course/venglobe.gif"> </map> </body> </html>
运行结果