How to specify the height and width for an image?

The height attribute is used to specify the height of an image.

The height and width attributes are used to specify the height and width of the image in pixels.

The width attribute is used to specify the width of an image.

Syntex:

<img width="50" height="50" src="/img.png">