Hello. It is said that adding width and height attributes to img tag help browsers render image file better.
<img src="#" id="first" width="50" height="50" />
But do these width and height attributes belong to semantic html and should always reside in html or do I have to transport these attributes to css, as below?
#first {
width:50px;
height:50px;
}
And lastly if css is to be used, is same improvement of image rendering still retained?
Thanks in advance.












Bookmarks