"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

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



Print This Tip

Get E-Mail When New Tips are Online

Return to the Web Development - Images and Backgrounds page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )