how to change the szie of a photo in html code example Example: how to change the size of an image in html <img src='image.jpg' alt="Image" height="42" width="42">.