how to change the size of an image in html

HTML
<img src="img_girl.jpg" alt="Girl in a jacket" style="width:500px;height:600px;">
 <img src='image.jpg' alt="Image" height="42" width="42">.<img src="smiley.gif" alt="Smiley face" height="42" width="42">
Source

Also in HTML: