When the user does so, they may proceed and can supply value to the next available field.
The later Java Script function created is called on the onsubmit event of the form. If Male or Female is selected, it generates an alert saying that the form is successfully submitted and it reloads the form.
XML has been designed for ease of implementation and for interoperability with both SGML and HTML.
This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at
The expressions use a pre-defined class is returned which enables the form to be submitted.