VOOZH about

URL: https://www.geeksforgeeks.org/html/html-input-typecheckbox/

⇱ HTML <input type="checkbox"> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <input type="checkbox">

Last Updated : 23 May, 2026

The <input type="checkbox"> element in HTML is used to create checkboxes for selecting one or more options. Unlike radio buttons, multiple checkboxes can be selected at the same time.

  • Used to select multiple options from a list.
  • Each checkbox can be checked or unchecked independently.
  • Commonly used in forms, preferences, and option selections.

Syntax:

<input type="checkbox"> 

Example: Demonstrate using the HTML <input type="checkbox"> element.

Comment
Article Tags: