Here is an example that displays a JPEG image called bobbin.jpg that is 349 pixels wide and 91 pixels high:
<p>Hanging bobbins like this one:
<img width="349" height="91" alt="a bobbin" src="bobbin.jpg" longdesc="bobbin.txt" />
were sold at hangings in England as souvenirs.
The actual size is smaller:
<img width="174" height="45" alt="a bobbin" src="bobbin.jpg" />
and I can make them look silly by changing the aspect ratio.
Here the height has been halved:
<img width="349" height="45" alt="a bobbin" src="bobbin.jpg" />
and here the height has been doubled and the width halved:
<img width="174" height="182" alt="a bobbin" src="bobbin.jpg" >
</p>