How can I insert an image into my HTML code?
<input id="sendButton" type="button" value=<img src="sendbutton.jpg"> />
I attempted to do this, but the website only displays it as text "img src/>" when I run it. Is there a way to make this work?
I am trying to create a send button for a chat application. Initially, I had
<input id="sendButton" type="button" value="Send" />
, which displayed the button as "Send" perfectly. However, I would like to use an image in place of the text, similar to what Twitter and Instagram do.