将图像作为链接

此例演示:

将图像作为链接。

实例解析:

<a href="http://www.php.cn/">

<img border="0" src="/static/images/logo.png" alt="php教程" width="32" height="32"></a></p>



继续学习
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(www.php.cn)</title> </head> <body> <p>创建图片链接: <a href="http://www.php.cn/"> <img border="10" src="/static/images/logo.png" alt="php教程" width="32" height="32"></a></p> <p>无边框的图片链接: <a href="http://www.php.cn/"> <img border="0" src="/static/images/logo.png" alt="php教程" width="32" height="32"></a></p> </body> </html>
提交重置代码