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