图片上加入超链接的代码是什么

来源:百度知道 编辑:UC知道 时间:2024/05/28 07:39:04

用a标签实现
<a href="链接的地址"><img src="图片的URL" width="图片的宽度" height="图片的高度" border="边框"></a>
定义和用法
<a> 标签定义超链接,用于从一张页面链接到另一张页面。
<a> 元素最重要的属性是 href 属性,它指示链接的目标。

<a href="http://image.baidu.com"><img src="http://img.baidu.com/img/logo-zhidao.gif" border="0" alt="百度知道" width="137" height="46" style="margin-right:9px;border:0pt none;"></a>

你可以参考一下