The Wayback Machine - https://web.archive.org/web/20090601075440/http://www.webreference.com:80/html/tutorial13/12.html


spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / html / tutorials / 13 / 12

index123456789101112131415161718192021exercises1

Tutorial 13: Giving Form to Forms

Developer News
Rails 3 Gets Supersized With Merb
SpringSource, Hyperic Merge for App Management
Get Ready for Windows 7 'Release Candidate'

Reset buttons

A reset button, when activated, will reset all controls in a form back to their default values, whatever they may be. A reset button may be useful in a large form if the user might want to start over from scratch. Reset buttons have a TYPE of reset. Reset buttons may be given a name, but they never create a name/value pair for form submission. The value of the VALUE attribute is the text that is displayed on the button.

<FORM ACTION="/cgi-bin/html/formdump.cgi" 
      METHOD="GET" ENCTYPE="application/x-www-form-urlencoded">
<P>Enter your name:
<INPUT TYPE="text" NAME="firstname" VALUE="First" SIZE="10">
<INPUT TYPE="text" NAME="lastname" VALUE="Last" SIZE="10">
<P>Enter your e-mail address:
<INPUT TYPE="text" NAME="email" SIZE="30">
<P>Subscribe
<INPUT TYPE="radio" NAME="action" VALUE="subscribe"  CHECKED>
Unsubscribe
<INPUT TYPE="radio" NAME="action" VALUE="unsubscribe">
<P><INPUT TYPE="reset" VALUE="Start Over">
<INPUT TYPE="submit">
</FORM>

Enter your name:

Enter your e-mail address:

Subscribe Unsubscribe

index123456789101112131415161718192021exercises1

Produced by Stephanos Piperoglou

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info
Copyright 2009 WebMediaBrands Inc. All Rights Reserved.

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Getting Started with URL Rewriting with Apache · Kicking the Tires on Your Next CMS · User Personalization with PHP: The Final Scripts
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Write SQL Code for MySQL Using HeidiSQL 4 · Government Mobility and Why It's Not an Oxymoron · Site Building with Photoshop and Dreamweaver

URL: http://www.webreference.com/html/tutorial13/12.html

Created: May 28, 1998
Revised: February 25, 1999

Morty Proxy This is a proxified and sanitized view of the page, visit original site.