0
How does the action attribute of a form effect its elements?
In the following code when I put action attribute for the form the first text box wont show up on my browser. https://code.sololearn.com/W4pkDdX0q932/?ref=app
1 ответ
+ 1
It specifies what action to perform when the form is submitted, where your form data should go.
Basically, form actions are only used when you connect your app to some kind of backend, when you want to store and manipulate the submitted data.
Currently, In your webpage, it's getting redirected to sololearn as you've put its URL there.