My contact form starts with:

<form id="form1" method="POST" action="mail.php">

I'd like to replace the last line in my contact form:

<button type="submit" value="Send" style="margin-top:15px; margin-left: 500px; text-align: center;">Send Email</button>

with one that contains

<img src="images/button_send-email.png" alt="Email">

but have no idea what it should look like. I tried but the button doesn't even show.

Please teach me how this should be done.

Thanks in advance,
Larry

Try <input type="image" src="images/button_send-email.png" alt="Email">

You can see according to W3 that type="image" creates a graphical submit button.

Did it work?

Oh nevermind. I see the question has been marked as solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.