Speed Up Your Site: Use the height and width tags

Date:

This is a very important factor that many people (including myself until some time ago) tend to overlook. When you use images or tables on your pages you should always include the height and width tags. If the browser does not see those tags it will need to figure the size of the image, then load the image and then load the rest of the page. Here is an example of code containing those tags:

moon image

When the height and width tags are included the browser will automatically know the size of the image. As a consequence it will be able to hold a place for the image and load the rest of the page contemporaneously. Apart from the improvement on the load time of the page this method is also more user friendly since the visitor can start reading the text or other information while the image is being downloaded.

Speed Up Your Site Series:

  1. Optimize Images
  2. Image Formats
  3. Optimze Your CSS
  4. Use a Slash on Your Links
  5. Use the Height and Width Tags
  6. Reduce the HTTP Requests

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Share post:

Subscribe

spot_imgspot_img

Subscribe

We don’t spam! Read our privacy policy for more info.

Popular

More like this
Related

2020 Q2 report: domains increase by 3.3 million (up 0.9%)

VeriSign, Inc. (NASDAQ: VRSN) today announced that the second...

Universities CEOs Attended the Most

Having a good education is one of the first...

Live domain auction grosses $2.2 million

Seven figure sale of holiday.com highlights auction. Last week’s Right...

Mike Mann with Alex Pires and Krista Gable (video)

Mike Mann with Alex Pires and Krista Gable (video)