I'm writing an ASP-MVC application in C#. I have an input
element of type submit
and I want it to display an image. Here is the declaration of my button:
<input type="submit" value="Login" />
How can I display an image on that button?
I'm writing an ASP-MVC application in C#. I have an input
element of type submit
and I want it to display an image. Here is the declaration of my button:
<input type="submit" value="Login" />
How can I display an image on that button?
Something like this should work:
<input type="image" src="/images/mypic.gif" />
Not sure I understand your question.