Full width home advertisement



Post Page Advertisement [Top]

How To Use Image As Link in HTML

Linking <img> is easy. It is almost the same as text linking. Simply replace the text in between the start <a> and </a> tag with the source of the image. 


<a href=“index.html"><img src=“logo.jpg” alt=“logo” /></a>

<!DOCTYPE html>



<title>Scholars Image Hyperlink Example</title>



<p>Click following link</p>

<a href="http://scholarsglobe.com">

<img src="logo.jpg" alt="logo"/>





Copy and Paste Code to Notepad and save as index.html and open with any web browser, or use editors like Dreamweaver or Frontpage to see results.

No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib