As with any other element, the dimensions of an image can be set with the
<img src="#" alt="A red leaf" class="leaf" />
Specifying the dimensions of an image helps the browser determine how much space should be reserved for the image.
Note: Images should be saved at the dimensions they will be displayed in on the web page. Using dimensions for an image that exceed the original dimensions will distort the image.