View Full Version : Adding images to webpage
11-10-2008, 02: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?
11-10-2008, 02: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
11-10-2008, 02: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.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.