/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: formaction

[this page | pdf | back links]

The HTML formaction attribute indicates where to send form-data to when a form is submitted. It applies to <button> and <input> elements and then only for type = submit.

 

Valid attribute values (when used with <button> and <input> elements) include:

 

Value

Description

URL

Where form-data is sent to when a form is submitted. For <button> elements it only applies if the button type = "submit"

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile