Skip to main content

Examples

Form-Associated Checkbox#

Checkboxes can be associated with a form, by either having a <form> element as an ancestor, or by using the form property to refer to a <form>'s ID.

Inside form

Outside form

Submitted values