Question:

Which of the following is the tag used to implement form element?

Show Hint

The form tag is the container that holds all input elements such as text boxes, buttons, and checkboxes used to collect user data.
  • <form> ... </form>
  • <form> ... <form>
  • </form> ... <form>
  • <frm> ... </frm>
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understand the purpose of HTML forms.

In HTML, forms are used to collect user input such as names, emails, passwords, and other data. These forms allow interaction between users and web applications.

To implement a form in HTML, the <form> tag is used. This tag acts as a container for form elements such as text fields, radio buttons, checkboxes, and submit buttons.

Step 2: Analyze the correct syntax of the form tag.

The correct syntax for creating a form in HTML is:

<form> ... </form>

The opening tag <form> begins the form and the closing tag </form> ends the form. All form elements must be placed inside these tags.

Step 3: Evaluate each option.

Option (1) correctly shows the opening and closing form tags.

Option (2) does not include the proper closing tag.

Option (3) starts incorrectly with a closing tag.

Option (4) uses an invalid tag name.

Step 4: Conclusion.

Therefore the correct HTML tag used to implement a form element is:

<form> ... </form>
Was this answer helpful?
0
0