====== 2.3.1. Simulated checkboxes ====== ===== Purpose ===== Simulated checkboxes are said to be “simulated” because they do not use the default form elements in HTML, namely the '''' fields. They are often used because they are more visually attractive. ===== Basic HTML code ===== The basic HTML code uses standard checkboxes:

Which sports do you play?

Without JavaScript, a standard form is provided to the user. ===== Behaviour with JavaScript ===== The scripts must handle the following points: * The ''