HTML Input Control Elements Image


<input type="image" src="img.png" alt="image_name" height="50px" width="50px"/>

An Image. You must use the src attribute to define the source of the image and the alt attribute to define alternative text. You can use the height and width attributes to define the size of the image in pixels.