Questions tagged [html.checkbox]

A checkbox is used to let user select one or more alternatives. Unlike Radio buttons, the user can select more than one checkbox at once, or select none of them at all.

Checkboxes are a type of input element in HTML with the following attributes:

  • name: name of the field
  • value: the value that is submitted if the box is checked
  • align: alignment of the field
  • tabindex: the tab order of the field
  • checked: whether the field is checked or not.

Sample code:

<input type="checkbox" name="myCheckbox" value="CheckMe" align="left" checked>
15 questions
4
votes
1 answer

Bind checkbox or multi-select dropdown to array in AngularJS?

I am new to AngularJS, and am thus confused as how to bind checkboxes or multi-select dropdowns to a separate list.