About 2,800,000 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 …

  2. <input type="checkbox"> - HTML | MDN - MDN Web Docs

    5 days ago · To make a checkbox checked by default, you give it the checked attribute. See the below example: In the above examples, you may have noticed that you can toggle a checkbox …

  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 …

  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 …

  5. HTML Checkbox checked Property: Checkbox Checked

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

  6. HTML Checkbox: Syntax, Usage, and Examples

    To create a checkbox in HTML, use the <input> tag with type="checkbox". Each checkbox can have a name, value, ID, and optional default checked state. When working with the <input> …

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

  8. HTML checked Attribute - CSS Portal

    The HTML checked attribute is a boolean attribute used primarily with input elements of type checkbox and radio. When applied, it specifies that an element should be pre-selected …

  9. HTML input type="checkbox" - W3Schools

    Definition and Usage 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 user …

  10. HTML - checked Attribute - Online Tutorials Library

    HTML checked attribute is a boolean attribute that indicates whether a checkbox is checked by default (when the page loads). We can use the checked attribute with a JavaScript conditional …