1
<html> <head> <title>alt用法</title> </head> <body> <img src="html.jpg" alt="风景" width="400px" height="300px"> </body> </html>
2
alt会产生提示,但是搜狗没有这个功能,ie才可以,出现了不兼容的问题
3
<html> <head> <title>映射图链接</title> </head> <body> <img src="html.jpg" usemap="#face"> <map name="Face"> <area shape="rect" href="page.html" coords="140,20,280,60"> <area shape="poly" href="image.html" coords="100,100,180,80,200,140"> <area shape="circle" href="new.html" coords="80,100,60"> </map> </img> </body> </html>
4 此处定义了三个热点,注意img使用了map