Setting width and height of an <img>

Without setting an image’s display property to “block”, the width and height properties don’t take effect.


img.someIcon {
   width: 10px;
   height: 15px;
}

How is it possible to set the width and height of an image through CSS while keeping the image displayed inline? I am aware that I can set it through HTML, but isn’t using CSS cleaner?