+ 1

I dont understand why do we need <form>?

I dont understand why do we need <form>? Everything seems fine with only <input> without form


25th Nov 2020, 6:55 AM
Jonas
Jonas - avatar
3 Answers
+ 2
<form> is for submitting HTTP Request to the server for processing. You will understand the use of <form> when you proceed to backend development.
25th Nov 2020, 3:23 PM
Gordon
Gordon - avatar
+ 2
For me, form is usefull to manipulate the form container with CSS. Besides, it plays a vital rule in term of SEO. Search engines could determine that it's a form if you use form tag.
25th Nov 2020, 7:57 AM
Misbah Ahmed
Misbah Ahmed - avatar
+ 1
Gordon are you a backend programmer? please give me some backend codes
26th Nov 2020, 11:00 AM
Rishabh(CP)
Rishabh(CP) - avatar