Html programming tutorial - creating hyperlinks using images - hyperlinking images - online html programming tutorial beginners free - free online html programming tutorial
html programming tutorial, creating hyperlinks using images, hyperlinking images, online html programming tutorial beginners free, free online html programming tutorial
HTML programming tutorial - Creating hyperlinks using imagesGo to HTML programming tutorial - Creating hyperlinks using imagesHTML tutorialGo to HTML tutorialWeb development tutorialsGo to web development tutorialsHomepage

HTML programming tutorial - Creating hyperlinks using images

Text placed between <A> - </A> tags becomes a hot spot providing a link to another document or to some anchor on the same page.
Images can also be used as hot spots if they are inserted between the anchor tags.

Let's see how this works:

<A HREF="../../index.html"><IMG SRC="backtohome.gif" 
WIDTH="150" HEIGHT="30" ALT="Takes you back to homepage"></A>
Takes you back to homepage

The anchor tag places a colored border around the image. You can remove this border by specifying "0" as the value of the BORDER attribute in the <IMG> tag.

<A HREF="../../index.html"><IMG SRC="backtohome.gif" 
WIDTH="150" HEIGHT="30" ALT="Takes you back to homepage"
BORDER="0"></A>
Takes you back to homepage

Any image, whether .gif, .jpg, .png or animated gif can be made into a hot spot using this technique.


Back Next


AddThis Social Bookmark Button
Page contents: Html programming tutorial - creating hyperlinks using images - hyperlinking images - online html programming tutorial beginners free - free online html programming tutorial

Page URL: http://www.webdevelopersnotes.com/tutorials/html/ html_programming_tutorial_creating_hyperlinks_using_images.php3



Join Mailing List


Feedback/Questions




50+ web hosting FAQs

Search engine for your website

Free software from Google - The Google Pack Collection

Create your own search engine
Search WebDevelopersNotes.com