Home › HTML Tutorial › Form attributes
Form attributes
Control where and how a form sends.
action is the URL, method is get or post, target chooses where the response opens, autocomplete and novalidate adjust browser help.
Example code
<form action='/submit' method='post' autocomplete='off'>
<input name='q' placeholder='Search' required>
<button>Send</button>
</form>'