---
title: "Discussion on \"How To Reset An HTML Form With JavaScript\" | Hashnode"
description: "Discussion on \"How To Reset An HTML Form With JavaScript\". With HTML, a reset button can be added in a form with <input /> tag. For that, we need to specify attribute type with \"reset\" value as type=\"reset\"\n<input type=\"reset\" value=\"Reset\" />\n\nAnd when the user clicks on the Reset button, the form that it b..."
url: "https://hashnode.com/posts/how-to-reset-an-html-form-with-javascript/5f284493281c190a91bb92b4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Reset An HTML Form With JavaScript](https://meshworld.hashnode.dev/how-to-reset-an-html-form-with-javascript?utm_source=hashnode&utm_medium=feed)

With HTML, a reset button can be added in a form with <input /> tag. For that, we need to specify attribute type with "reset" value as type="reset" <input type="reset" value="Reset" /> And when the user clicks on the Reset button, the form that it b...

Aug 3, 2020 · 1 min read · meshworld.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html](https://hashnode.com/tag/html)
-   [#form](https://hashnode.com/tag/form)

## Written by

[Vishnu](https://hashnode.com/@vishnudigital)

@vishnudigital · India

  
[View profile](https://hashnode.com/@vishnudigital)

Web Developer, Instructor

## Responses 1

Markdown supported · ⌘↵ to post

[Helen Dam](https://hashnode.com/@helendam)

[May 29, 2024](https://hashnode.com/posts/how-to-reset-an-html-form-with-javascript/5f284493281c190a91bb92b4/comment/6656a3e6de434a766ecadf2a)

Your article is a literary tapestry, woven with threads of expertise, passion, and meticulousness. Each intricately crafted thread contributes to the grand design of knowledge and understanding, leaving me in [slither](https://slithergame.io/) awe of the tapestry's beauty and forever thankful for the craftsmanship you have displayed.

[Luiz Filipe da Silva](https://hashnode.com/@luizfilipezs)

[Aug 3, 2020](https://hashnode.com/posts/how-to-reset-an-html-form-with-javascript/5f284493281c190a91bb92b4/comment/5f284b4ae7b1800ab23def15)

A helpful tip. Thanks for sharing!
