[ 139932 ]
[ 38.103.63.16 ]
Formulaires (page3) : Exercice HTMLDonnée de l'exerciceRéaliser le formulaire ci-dessous :
Corrigé de l'exercice
<form method="get" action="nom_de_votre_page.html">
<fieldset style="background-color: white">
<legend>Exercice sur les Formulaires</legend>
<table width="100%" align="center" border="1">
<tr>
<td style="width: 20%"><strong>Civilité</strong></td>
<td>
<input type="radio" name="civilite" value="Monsieur" checked="checked"/>Monsieur
<input type="radio" name="civilite" value="Madame"/>Madame
<input type="radio" name="civilite" value="Mademoiselle"/>Mademoiselle</td>
</tr>
<tr>
<td><strong>Nom / Prénom</strong></td>
<td><input type="text" name="nom" size="50" maxlength="80"/></td>
</tr>
<tr>
<td><strong>Adresse</strong></td>
<td>
<textarea name="adresse" cols="50" rows="2">
Rue No Boîte postale
</textarea></td>
</tr>
<tr>
<td><strong>No postal / Localité</strong></td>
<td>
<input type="text" name="no_postal" size="5" maxlength="4"/>
<input type="text" name="localite" size="20" maxlength="80" value="Paris"/></td>
</tr>
<tr>
<td><strong>Pays</strong></td>
<td>
<select name="pays">
<option selected="selected">France</option>
<option>Italie</option>
<option>Suisse</option>
</select></td>
</tr>
<tr>
<td><strong>Plateforme(s)</strong></td>
<td>
<input type="checkbox" name="materiel" value="Windows" checked="checked"/>Windows
<input type="checkbox" name="materiel" value="Mac" checked="checked"/>Macintosh
<input type="checkbox" name="materiel" value="Unix"/>Unix</td>
</tr>
<tr>
<td><strong>Applications(s)</strong></td>
<td>
<select name="applications" size="5" multiple="multiple">
<option selected="selected">Bureautique</option>
<option>DAO</option>
<option>Statistiques</option>
<option>SGBD</option>
<option selected="selected">Internet</option>
</select></td>
</tr>
<tr>
<td style="text-align: right">
<input type="reset" value="Effacer"/>
<input type="submit" value="Soumettre formulaire"/></td>
</tr>
</table>
</fieldset>
</form>
|