html img attributes size code example
Example 1: how to change the height of an image in html
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
Example 2: img tag
<img src="img.jpg" alt="alt" width="100%">
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
<img src="img.jpg" alt="alt" width="100%">