About 1,440 results
Open links in new tab
  1. HTML input checked Attribute - W3Schools

    When present, it specifies that an <input> element should be pre-selected (checked) when the page loads. type="radio">. The checked attribute can also be set after the page load, with a JavaScript. …

  2. <input type="checkbox"> HTML attribute value - HTML | MDN

    Apr 22, 2026 · <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.

  3. What's the proper value for a checked attribute of an HTML checkbox?

    Oct 21, 2011 · Checkboxes (and radio buttons) are on/off switches that may be toggled by the user. A switch is "on" when the control element's checked attribute is set. When a form is submitted, only …

  4. How to Create a Checkbox in HTML? - GeeksforGeeks

    Aug 30, 2024 · Checkboxes can be checked or unchecked, and they are created using the <input> tag with the type attributes set to the checkbox. There are various ways to create the checkboxes in …

  5. HTML Checkbox checked Property: Checkbox Checked - CodeLucky

    Feb 9, 2025 · A comprehensive guide to the HTML Checkbox checked property, covering its usage, syntax, and practical examples for web developers.

  6. HTML checked Attribute - W3docs

    What does the HTML 'checked' attribute do? It indicates whether a checkbox or radio button is selected. It sets the default value of an input element. It provides a hint for the user on the expected value of …

  7. HTML checked Attribute - W3Schools

    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">.

  8. HTML Checkbox: Syntax, Usage, and Examples

    Learn how to use the HTML checkbox element with syntax, examples, and tips for styling, behavior, accessibility, and form submissions.

  9. HTML - checked Attribute - Online Tutorials Library

    We can use the checked attribute with a JavaScript conditional statement to verify whether a checkbox or radio button is checked. It returns true if the checkbox or radio button is checked otherwise false.

  10. How to Perform Actions on HTML Checkbox Checked or Unchecked …

    Apr 29, 2026 · To trigger actions when a checkbox is checked/unchecked, we use events. Two common events: Fires when the checkbox’s state changes (checked → unchecked or vice versa). …