: Does image dimensions outside image tag also slow page loading? I am using height and width for images in css before img tag (css in same page header) so I think there is no need to set
I am using height and width for images in css before img tag (css in same page header) so I think there is no need to set dimensions in img tag.
But when I checked speed in different online tools, many tools are showing the message like "some images are missing height and width attributes. page can't be fully rendered until these images have been downloaded."
Am I doing wrong and should move height and width to img tags or these tools showing wrong? Anyone knows about which is best for speed?
More posts by @Sherry384
1 Comments
Sorted by latest first Latest Oldest Best
The error message you are getting is simply an informative message telling you that without the width and height attributes the page load may slow down while the whole image is downloaded to the browser cache to be displayed, but if the image in question is the same size (IE: not larger than the area you are wanting to display it in) then you wont have any issues.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.