HTML | formaction Attribute
The HTML formaction Attribute is used to specify where to send the data of the form. After submission of the form the formaction attribute called. The form data is to be sent to the server after submission of the form. It overrides the feature of the action attribute of a <form> element.
< element formaction="URL">
Attribute Values: It contains single value URL which is used to specify the URL of the document where the data to be sent after submission of the form.
The possible value of the URL is:
- absolute URL: It points to the full address of a page. For example: “www.geeksforgeeks.org/data-structure”
- relative URL: It is used to point to a file within a webpage. For Example: gfg.php
Supported Browsers: The browsers supported by formaction Attribute are listed below:
- Google Chrome
- Internet Explorer
- Apple Safari