What is the use of Action in form | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of Action in form

Difference between action tag and header.filename in form element,

31st Mar 2020, 2:04 AM
Prateek Pandey
Prateek Pandey - avatar
1 Answer
+ 2
Action is an attribute in form tag which is used to specify a url of a form processor. This may be a php script that handles the form data. A form is useless without some processing taken place when you submitted the form.
31st Mar 2020, 3:50 AM
Kashyap Kumar
Kashyap Kumar - avatar