Without the width and the height the image does not know how large it is, which causes an unwanted jump in the page as it loads (it reflows).reading more