84
HTML Form Action
The action is an attribute of <form> element that specifies the url of the second web page. The second page receives the form-data from the first page after the submission of a form.
Syntax
This attribute specifies the URL of a web page as its value which receives the information of the form filled by the user.
Example
This example sent the filled values to the jp.php page with the help of the server after clicking on a register button. If you want to learn the process of a server, then click on this url: https://tutoraspire.com/php-form
Browser Support
Element | ![]() | ![]() | ![]() | ![]() | ![]() |
<form action=” “> | Yes | Yes | Yes | Yes | Yes |
Next TopicHTML Id Attribute