Edit Article

Want to give your visitor the ability to clear all form data they entered? This article will give you the code to input the button they'll need to clear their data.

Ad

EditSteps

  1. 1
    Create an HTML form with the <form> tag.
    Ad
  2. 2
    Create several options that the user can type in information or click a selection button, or do something.
  3. 3
    Create your reset button. Type the <input type="reset"> tag into the code towards the top and/or bottom of the HTML form.
  4. 4
    Close the form after all input fields are entered with a final </form> tag.
  5. 5
    Save and preview your new adjusted form with the new reset button. Try it out, to see if it works correctly; click a selection or type a value and then click the reset button.
    Ad

We could really use your help!

Can you tell us about
dogs?
Can you help us
rate articles?
Yes
No
dogs
how to clean dog bedding with vinegar
Can you tell us about
building longboards?
Yes
No
building longboards
how to build a longboard
Can you tell us about
reference requests?
Yes
No
reference requests
how to ask for a reference
Can you tell us about
horses?
Yes
No
horses
how to research a horse's bloodline
Thanks for helping! Please tell us everything you know about
...
Tell us everything you know here. Remember, more detail is better.
Tips
Provide Details.
Please be as detailed as possible in your explanation. Don't worry about formatting! We'll take care of it. For example:
Don't say: Eat more fats.
Do say: Add fats with some nutritional value to the foods you already eat. Try olive oil, butter, avocado, and mayonnaise.

EditVideo



EditTips

  • Give the input boxes you ask the visitor to enter, values into names with the 'name="NameHere" attribute.

Article Info

Categories: HTML

Thanks to all authors for creating a page that has been read 9,207 times.

Did this article help you?
Yes No

Become
an Author!

Write an Article