This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

Web Development - Images and Backgrounds - Use WIDTH and HEIGHT Tags For Images

Use WIDTH and HEIGHT tags for images

It is STRONGLY recommended that you always code in image width and height tags. By telling web browsers the size of an image, a page will appear to load faster on a client's machine.

FORMAT:

<IMG SRC="graphic.ext" WIDTH=wd HEIGHT=ht>

graphic.ext - your graphic file
wd = the width, in pixels, of your graphic
ht = the height, in pixels, of your graphic


 


Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to Web Development - Images and Backgrounds - Use WIDTH and HEIGHT Tags For Images
 
Standard disclaimer applies - read http://malektips.com/disclaim.html.