Welcome Guest! (App Version 3.1)

websitnero logo name

HTML Checkbox

Using checkboxes in HTML Forms

Checkboxes are just like radio buttons giving option to the user to make selection of some items. The only difference is while radio buttons only allow one selection per group of options, checkboxes provide facility to select more than one option.

<input type="checkbox" name="someName" value="someValue">

<input type="checkbox" name="vehicle" value="byke">

Example

<form>
  <input type="checkbox" name="vehicle" value="byke">Byke
  <input type="checkbox" name="vehicle" value="car">Car
  <input type="checkbox" name="vehicle" value="bus">Bus
  <input type="checkbox" name="vehicle" value="train">Train
</form>
Further Reading

1. <input type="checkbox">

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.