attributes of img tag html code example
Example 1: img html
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
Example 2: img tag
<img src="photo1.png" alt="">
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
<img src="photo1.png" alt="">