Untitled Document



 Introduction to HTML
 Structure of HTML
 Creating First HTML  Document
 Building Your HTML  Document
 Tables
 Frames
 Including Images into  Document
 Understanding Image  Formats
 Including Images into  Document
 Understanding Image  Formats
   GIF
 JPEG
 Adding Images
 
   Adding Images
   Adding an Images
 Setting image as a  Background
 Including Alternative  Text
 Specifying Height and  Width
   Aligning the Image
 Controlling the Border
 Using Image as Links
 
   Using Image as Links
   Creating Image Links
 Creating Thumbnails
 Creating Image Maps
 
   Creating Image Maps
 Understanding Image  Map Types
   Client Side Image Map
 Server Side Image  Map
 Image Maps and Text  Only Browsers
 Creating Server-side  Image Maps
   Creating a Map File
 Map File and the  Image Map Program
   Linking it all Together
 Creating Client-side  Image Maps
 The <MAP> and  <AREA> Tags
 The USEMAP  Attribute
 Building Web Pages
 Including Multimedia
 Developing HTML  FORMS
 Using Style Sheet
 Understanding URLs
 Using JavaScript
 Using Java

Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




  Including Images into your Document > Using Image as Links

  Using Image as Links

Using images as links offers two distinct advantages to both you and your visitors. First, images really can be as good as a thousand words. Second, including an image link can replace several words or lines of text, leaving valuable space for other page elements. Small image links (called thumbnails) representing larger images can decrease loading time.

Creating Image Links
Creating Thumbnails

  Creating Image Links

If you include an <IMG> tag inside the opening and closing parts of a link tag (<A>), that image serves as a clickable hot spot for the link itself. If you include both an image and text in the anchor, the image and the text become hot spots pointing to the same page. Be careful when setting Border to zero for images with links. The border provides a visual indication that the image is also a link.

Example:

In this exercise, you will learn to turn an image into a clickable hot spot.

Turn an image into a link simply by including it in the descriptive content of the anchor tag (<A>).

Take your cursor over the image shown in the page to see the effect.


  Creating Thumbnails

A thumbnail is a smaller version of an image. Thumbnail can also link to multimedia applets. To add a thumbnail image, start by having both images - the thumbnail and the larger version. Like image links, be careful when setting Border to zero for images with links. The trick to effective thumbnails is to reduce both the dimensions and the actual file size to the smallest possible value so that the page will load quickly.

In this exercise, you will learn to display and access a thumbnail image.

Include the thumbnail file name in the <IMG> tag and the referenced file name in the anchor tag (<A>).

Click the thumbnail shown on the top left corner of the page. This will show you the actual image.

This is your actual image.

Back Next


Copyrights : Layout Galaxy All Rights Reserved
No part of this tutorial may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, electrostatic, magnetic tape, mechanical or otherwise, without prior permission in writing from Layout Galaxy.




17, Vadsarvala Nivas, 65-A, J. Nehru Road, Mulund (W), Mumbai - 400 080 INDIA
Tel : 91-22-25795588, 91-22-25780444 Fax : 91-22-25793397
Email : ionline@vsnl.com
© Image Online 2001-2003