Javatpoint Logo
Javatpoint Logo

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

Test it Now

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://www.javatpoint.com/php-form

Browser Support

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<form action=" ">YesYesYesYesYes

Next TopicHTML Id Attribute




Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA