html height and width of image code example Example: how to change the height of an image in html <img src="smiley.gif" alt="Smiley face" height="42" width="42">