I have read a lot that you should separate your css styling from your content, and that using inline styling isn't the best practice, but is this the same with the size of <img>
tags?
Is it the best practice to set the width and height using attributes, or is it best to put it in a css class?
<img src="myimg.png" height="100" width="200" />
or
.myimg{
height:100px;
width:200px;
}
<img src="myimg.png" class="myimg" />
or is there no 'best' practice? if so, in which situations should you use 1 or 2?