<a> tag vs <form> tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

<a> tag vs <form> tag

what is the difference between <a> tag and <form> tag?

20th Feb 2019, 5:14 PM
0joface P*****r
0joface P*****r - avatar
3 Answers
+ 25
<a> Is For Opening A Link either On The Same Page Or Another Page! <form> Is For Collecting Information Of Types And Sent It To A Particular Link...(Not Opening New Pages)! Hope You Understood!!!😊✌
24th Feb 2019, 11:35 AM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 6
● <a> tag is used to go to another page. ● <form> tag is used to submit the informations by the user and post it.
20th Feb 2019, 7:14 PM
program
program - avatar
+ 5
<a> is used for links <form> is used to gather info from users and send it to back-end to process
20th Feb 2019, 5:41 PM
Maneren
Maneren - avatar