<form action="/action_page.php"> | Sololearn: Learn to code for FREE!


<form action="/action_page.php">

what ia the value of action what does it do??

8/12/2018 3:06:46 PM


1 Answer

New Answer


It's adress to a script that will process data submitted via the form. Just like onsubmit specifies JavaScript function that is invoked on form submit. Action is used when you use php, but you can also use it just to redirect a user to another page once the form is submited.