CBSE Class 10 Computer Applications Question 7 of 31

Solved Sample Paper 2 — Question 7

Back to all questions
7
Question

Question 7

How to create a checkbox in HTML?

  1. <input type = "checkbox">
  2. <input type = "button">
  3. <checkbox>
  4. <input type = "check">
Answer

<input type = "checkbox">

Reason — To create a checkbox in HTML, we use the <input> tag along with its 'type' attribute as follows:

<input type = "checkbox">