+ 1
is <form> element useless ?
Do you think we can give up the <form> element in the future since we can use ajax, and events attribute (like onclick) ?
4 Réponses
+ 5
I personally think the answer to that is no. And I think that because form is still the easiest way to make an input option on a webpage. Cheers.
+ 2
Form is the standard way to submit data from inputs. Data can be submitted from form using ajax too.
+ 1
My opinion is it the best way to collect data and send them to be processed by an external script. There are lots of attributes in order to that such as method and action. So, why not? form is still useful.
+ 1
the use of <form> tag is not only the matter of semantically valid HTML-markup (which is really important itself in terms of W3C standards) but also a cross-browser way to show form-elements. some browsers just won't show an element if it's not in <form> tag.