Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Web
Expertise: Beginner
Apr 23, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Replace Form Buttons With Images

Let's face it--the default gray buttons that come with all browsers to go along with HTML forms are not very attractive. If you have a good look and feel going with your site, it's a shame to mess it up with bland gray submit buttons for the forms. Fortunately, you don't have to use these bland buttons. It's possible to use an image and have it behave like a submit button. The syntax is as follows:
<INPUT TYPE="image" SRC="images/submit.gif" BORDER="0">
Remember to give the tag the correct path to the image you want to use, and don't forget the BORDER="0" attribute--it'll look strange if you don't include it.
Steve Renaker
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date