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

<input type="submit" />

By , About.com Guide

<input type="submit" /> Description:

The <input type="submit" /> tag submits data to the form.

<input type="submit" /> Web Browser Support:
<input type="submit" /> Attributes:
<input type="submit" /> Usage:
  • standard submit button:
    <form>
    <input type="submit" />
    </form>
  • submit field with changed wording:
    <form>
    <input type="submit" value="Submit Now" />
    </form>
  • submit button with some styles added:
    <form>
    <input type="submit" value="Click Me" style="background-color:#cc0000; color: #ffffff;" />
    </form>
<input type="submit" /> Special Notes:
  • The default wording on a submit button is "Submit Query". Since this is a bit awkward in standard English, it's a good idea to change it.
  • Without a submit button, your form cannot be sent to the server.
More <input type="submit" /> Information:

Return to the <input /> Element
Return to XHTML Element (HTML Tags) Library

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

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

All rights reserved.