devxlogo

Replace Form Buttons With Images

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:

 

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.

See also  5 Ways to Improve Customer Experience
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist