====== 2.3.2. Simulated radio buttons ====== ===== Purpose ===== “Simulated” radio buttons do not use the standard HTML form elements for radio buttons, namely the '''' fields. Simulated radio buttons are often used because they are more visually attractive. Unlike checkboxes that permit multiple selections, only one radio button can be selected in a group of radio buttons. ===== Basic HTML code ===== The basic HTML code uses standard radio buttons:

Which colour was Henri IV’s white horse?

Without JavaScript, a standard form is shown to the user. ===== Behaviour with JavaScript ===== With JavaScript, the behaviour of the simulated radio buttons must be the same as for standard radio buttons. The scripts must handle the following points: * The ''