Images: Height and Width Attribute? (2 posts)

  1. Anonymous
    Posted 11 years ago #

    Uploading images with WP results in a <img> tag without height and width attributes. Isn't recommendable to use them?

  2. Jack
    Posted 11 years ago #

    In theory yes. The browser doesn't need to calculate the dimensions itself, thus saving (slightly on) download/displaying time. But I always leave them out. Whenever you want to change something to an image, make it a bit less higher or wider, you also have to change the code in the post.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.