HTML <Checkbox> Tag
The HTML <checkbox> tag is used to define the square boxes. It is a form element which allows users to select one or more options from the given options.
It is created by the type attribute of the <input> element as shown in the following syntax:
If we want to select any checkbox by default, then we have to set the checked attribute with the "yes" value as described in the following syntax:
ExampleTest it Now
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week