Utiliser l'imag...SE CONNECTER

Utiliser l'image comme lien

Cet exemple démontre :

Utiliser une image comme lien.

Exemple d'analyse :

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

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



section suivante
<!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>
soumettreRéinitialiser le code
chapitredidacticiel