Computer >> Computer tutorials >  >> Programming >> Javascript

Image button with HTML5


To add image button with HTML5, use the <button> element and set the image inside it before it is closed </button> −

<button type = "submit" name = "learn" value = "myimage">
   <p>Tutorials for all</p>
   <img src="https://www.tutorialspoint.com/latest/inter-process-communication.png " />
</button>