sound advice, your web design resource logo Home exchange links about us anti-spam pevention our web hosting company
 
search our websitesearch the internet

Tell a friend:

Index: Website Creation

Contains HTML tips, guides to forms, CSS, Java, CGI, image tools, image galleries, website management tools and more!


Resource Guide To - Designing & Maintaining Your Website

Index 1:  About Image Attributes / Image Galleries

 

Images Height & Width Attributes

How can I add height and width values for the images?

The <IMG> tag is used to scale images to a size that you would like displayed. Using the HEIGHT attribute and WIDTH attribute will define the pictures on your site, and download your pages faster as the browser will read these attributes much quicker. If you were to leave these attributes out, the browser will read it at first, as an infinite value which will take longer in determining the picture size, compared to the fixed size you have already assigned for the browser by using these attributes.

Here is the <img> width and height attributes:

<img src="images/yourpicture.gif" height="100" width="50">

<<  BACK


 
© Copyright FinalHost.com -all rights reserved