<html> <head></head> <body> <!-- src : 图片的路径 (本地资源路径, 网络资源路径) title : 图片的标题, 鼠标移动到图片上会显示出来 alt : 图片加载失败后所显示出来的的提示信息 width , height : 图片的宽和高, 可以是像素也可以是百分比 --> <img src="image/a.jpg" title="图片" alt="这里有一张图片" width="300px" height="200px" /> </body> </html>