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