Loading...

<form> Attributes

The <form> element has various attributes that define how it behaves, including submission method, destination, and interaction settings. Knowing these is essential for effective and secure forms.

action

The 'action' attribute defines the URL where form data is sent. If omitted, the data is sent back to the same page.

method

The 'method' attribute defines how data is submitted: 'get' sends data in the URL, while 'post' does so more securely in the background.

target

The 'target' attribute specifies where the response page should open. '_blank' opens it in a new tab or window.

autocomplete

The 'autocomplete' attribute lets browsers suggest previously entered values. It is enabled by default but can be turned off ('off').

novalidate

The 'novalidate' attribute disables the browser's automatic validation. It's useful when you want to handle validation with JavaScript.

Track Your Progress 🚀

Learn more easily by tracking your progress completely for free.


Top tools

CodeHubBoardly NEWLinksy NEWChromo NEW

Select Language

Set theme

© 2025 ReadyTools. All rights reserved.