Skip to content
GK24
Computer AwarenessMediumAsked in: RRB JE · 30 Aug 2019 (IT, CBT 2)

Which of the following tag creates a checkbox for a form in HTML?

  1. A.<input checkbox>
  2. B.<checkbox>
  3. C.<input=checkbox>
  4. D.<input type="checkbox">

Correct answer

D. <input type="checkbox">

Explanation

The correct answer is D, the input tag with its type attribute set to checkbox. HTML has no separate checkbox element at all. Every simple form control is written with the single input tag, and the type attribute decides what the browser draws, whether that is text, password, radio, checkbox, submit, file or hidden. So a checkbox is made by writing input and setting type to checkbox, while the name and value attributes tell the server which boxes were ticked. Several checkboxes may share one name, which lets a user pick more than one answer; radio buttons that share a name allow only one choice. Option A is wrong because checkbox is written there as a bare word instead of as the value of the type attribute. Option B is wrong because no checkbox element exists in HTML. Option C is wrong because the equals sign is placed straight after the tag name rather than inside a proper attribute. Exam tip: one input tag, many controls, and the type attribute is what changes.

View all
Q2.Computer AwarenessAsked in: CDS · CDS-I 2025, GKEasy

Which one of the following is the characteristic of Artificial Intelligence ?

  1. A.Replicates human decision making
  2. B.Stores relevant information
  3. C.Stores similar kind of data for a specific purpose
  4. D.Allows user to interact with media
Show answer
Correct answer: A. Replicates human decision making

Artificial Intelligence is the ability of a machine to perform tasks that normally need human intelligence, such as reasoning, learning and taking decisions.