Specify Width and Height of All Images
For viewing all tips see here
Applicable To
All Browsers
How Improves Page Load Time
By optimizing browser rendering
Prologue
[Detail of the technology / concept being used in the tip if required]
Why
Specifying width and height of images in the web page eliminate the need to unnecessary reflows and repaints
How
Set the dimensions on the ‘img’ element itself or a block level parent. If the parent is not block-level, the dimensions will be ignored
Exceptions
None
Recommendations
None
Comments
Post a Comment