1. Home
  2. Computing & Technology
  3. Web Design / HTML

Ways to Submit Your Forms
Basic Input Tags

By , About.com Guide

HTML forms are an advanced way to add dynamic aspects to your site. You can solicit questions and answers from your readers and provide them with additional information from databases and other sources. There are a number of tags you can use to build your HTML forms. (See the sidebar for more articles on form tags.) Once you've built your form, there are several ways you can have your readers submit their data to the server.

  • <input type="submit">
    This is the most common method of getting data to the server. But it can be very plain looking and hard to customize to a site
  • <input type="image">
    Using an image makes it very easy to make your submit button fit with the style of your site. But some customers don't recognize it as a submit button.
  • <input type="button">
    The button tag gives a lot of the same options as the image tag, but looks more like the standard submit type. But, it doesn't work well with all browsers, and requires JavaScript to activate.

The <input type="submit" /> tag is really easy to use. In fact, <input type="submit" /> is all you need. If you want to change the default text, simply add a value="text here" attribute. Such as <input type="submit" value="Click Here" />

Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. About.com Web Design A to Z
  5. Web Design Articles R-Z
  6. Web Design/HTML Articles W
  7. Ways to Submit Your Forms - Submit Tag, Images>

©2010 About.com, a part of The New York Times Company.

All rights reserved.