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

29th Jan 2020, 6:57 AM
Mehran.S
1 Réponse
+ 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.
30th Jan 2020, 2:02 AM
Dinesh Bala
Dinesh Bala - avatar