...

View Full Version : Adding images to webpage



kyllle
11-10-2008, 01:11 PM
Hi guys a quick question,

When adding images to html is it important that you include the width & height? Whats the purpose of this?

Thanks

Kyle

brazenskies
11-10-2008, 01:17 PM
I think you only need to include the width and height if you want to squeeze/stretch an image into a specific area that it wouldn't normally fit in.

Not including height and width is perfectly valid html

abduraooft
11-10-2008, 01:31 PM
Adding the width and height will help the browser to allocate the required space before loading your image, so that they may render the layout much faster.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum