Statistiques| Inscription| Espace privé
Développement Web
Accueil > XHTML > un formulaire inopérant
Le plan Les galeries
Dernière mise à jour :
vendredi 15 mai 2009
Contact
Webmestre
olivier ramos
ParamSPIP
Agenda
<<   Avril 2024   >>
Lu Ma Me Je Ve Sa Di
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5



Le code
 
 
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">

<head>
<meta http-equiv="Content-Type" content="text/html ; charset=iso-8859-1" />
<title>Mon formulaire</title>
</head>

<body>

<form action="">

<p>
Nom : <input type ="text"  name="nom" value="" /><br/>
Prénom : <input type ="text" name="prenom" value="" /><br/>
Mot de passe :  <input type="password" name="secret" />
</p>

<p>
Vous êtes  :
<input type="radio" name="genre" value="un homme" checked="checked" />Un homme
<input type="radio" name="genre" value="une femme" />Une femme
</p>

<p>
<label
for="loisir">
Quel est votre loisir préféré ?
</label>
<select name="loisir"  id="loisir">
 <option selected="selected">informatique </option>
 <option >sport</option>
 <option> cinéma</option>
 <option >musique</option>
</select>
</p>

<p>
Quelle(s) langue(s) parlez-vous ?<br/> 
<input type="checkbox" checked="checked" name="français" value="français" />français
<input type="checkbox" name="anglais"  value="anglais" />anglais
<input type="checkbox" name="allemand"  value="allemand" />allemand
<input type="checkbox" name="espagnol"  value="espagnol" />espagnol
</p>

<p>
Ecrivez ci-dessous un petit texte :</p>

<div>
<textarea
name="projet" rows="5" cols="33">
</textarea>
</div>

<table width="80%" border="1">
 <tr align="center">
  <td >Valider ces informations <br/>
   <input type="button" value="Enregistrer" />
  </td>
  <td >
Recommencer la saisie<br/>
   <input
type="reset"  value="Effacer" />
  </td> 
  </tr>
</table>

</form>

 </body>
 </html>