Q1. What is the <form> tag used for?
The <form> tag creates an HTML form for user input, collecting data to send to a server.
Q2. What are the main attributes of the form tag?
action (where to send data), method (how to send: GET or POST), name (identify form), enctype (for file uploads).
Q3. What is the difference between GET and POST methods?
GET appends data to URL (visible, limited length). POST sends data in request body (secure, no size limit).
Q4. What is the purpose of the action attribute?
The action attribute specifies the URL where the form data should be sent when submitted.
Q5. What is a hidden input field used for?
Hidden inputs (<input type="hidden">) store data that should be submitted but not visible to users.
