Image button with HTML5

JavascriptWeb DevelopmentFront End Scripts

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>
raja
Published on 06-Apr-2018 14:04:35
Advertisements