Computer Science, asked by PragyaTbia, 1 year ago

What is checkbox?
Topic: HTML-II

Answers

Answered by Neeraj723
3
The checked attribute is a boolean attribute. When present, it specifies that an <input> element should be pre-selected (checked) when the page loads. The checked attribute can be used with <input type="checkbox"> and <input type="radio"
Answered by gratefuljarette
1

Checkbox:

  1. It is a box that is provided to choose any one of the given options. We can see the checkbox often while filling any online form or on any web page or we can see the checkbox while filling any feedback report where often it has been given to click on any appropriate checkbox.
  2. The checkbox is created in HTML i.e. using the input tag. The syntax for creating the checkbox in HTML-2 is as follows: <input type=”checkbox” name=”status: value=”single”/> single <input type=”checkbox” name=”status: value=”married”/> married.
Similar questions