About 2,950,000 results
Open links in new tab
  1. html - What is the purpose of the `name` attribute in a checkbox

    The name attribute is used to identify a checkbox. Which you could parse into a object like so {checkboxName1: 'checkboxValue2', checkboxName2: 'checkboxValue2'}

  2. HTML <input type="checkbox"> - W3Schools

    HTML <input> type attribute. The <input type="checkbox"> defines a checkbox. The checkbox is shown as a square box that is ticked (checked) when activated. Checkboxes are used to let a …

  3. HTML | DOM Input Checkbox name Property - GeeksforGeeks

    Aug 25, 2022 · The Input Checkbox name property in HTML DOM is used to set or return the value of name attribute of a input checkbox field. The name attribute is required for each input …

  4. html - How to create a checkbox with a clickable label ... - Stack Overflow

    Jun 11, 2019 · Wrap the checkbox within a label tag: <label> <input type="checkbox" name="checkbox" value="value"> Text. </label> Use the for attribute (match the checkbox id): …

  5. HTML DOM Input Checkbox name Property - W3Schools

    The name property sets or returns the value of the name attribute of a checkbox. The name attribute is used to identify form data after it has been submitted to the server, or to reference …

  6. HTML Checkbox name Property: Checkbox Name - CodeLucky

    Feb 9, 2025 · A comprehensive guide to the HTML checkbox name property, explaining its purpose, syntax, and usage with practical examples.

  7. <input type="checkbox"> - HTML: HyperText Markup Language

    Apr 10, 2025 · <input> elements of type checkbox are rendered by default as boxes that are checked (ticked) when activated, like you might see in an official government paper form. The …

  8. HTML Input Type Checkbox to Give Multiple Choices - Tutorialdeep

    The above example contains four simple checkboxes for users to select single or multiple choices of programming skills. It also contains the name attribute that you need to give same to allow …

  9. Checkbox HTML Guide - Makemychance

    Feb 17, 2025 · Here's how to create a basic checkbox: The name and id attributes are crucial for form functionality and JavaScript manipulation. To enhance accessibility, you can add.

  10. Using The HTML Checkbox & Managing The Check State With

    Jan 9, 2021 · This is done by adding either a 'name' or 'id' attribute to the checkbox element and a corresponding 'for' attribute to the label. The label's for attribute value should match the …

  11. Some results have been removed