Q. What is the purpose of HTML forms?
β
Correct Answer: (C)
To collect user input.
Explanation: The <form> tag defines a form that is used to collect user input. Example :
<form>
First name:
<input type="text" name="firstname">
Last name:
<input type="text" name="lastname">
</form>