+ 1
What is the use of form tag if input can be given without using form element?
3 Answers
+ 2
Typically the form is on a page because we want to post their values to an action.
<form method="post" action="save.aspx">
It's not technically needed.
+ 2
Dan Stewart is correct. Without the form tag, a form canât be submitted. One example of where someone might use form inputs without the form tag is if you want an interactive page that uses javascript to do things based on form field changes. You could add something like onchange to perform a javascript action when a form field value is changed.
+ 2
Thanks Dan Stewart and Mike