html> Formulaire <h3

Transcription

html> Formulaire <h3
<html>
<head>
<title>Formulaire</title>
</head>
<body>
<h3>Formulaire HTML</h3>
<form action="/cgi-bin/reponse.cgi" method="get/post">
<table border="1" width="70%">
<tr>
<td>Champ de type texte</td> <td>Nom : </td>
<td><input type="text" name="nom" size="50"></td>
</tr>
<tr>
<td>Champ de type password</td> <td>Mot de passe :
</td>
<td><input type="password" name="pwd"
size="15"></td>
</tr>
<tr>
<td>Champs de type radio</td> <td>Ordinateur :
</td>
<td>
<input type="radio" name="ordi" value="pc">PC
<input type="radio" name="ordi"
value="mac">Mac
</td>
</tr>
<tr>
<td>Champs de type checkbox</td>
<td>Syst&egrave;me d'exploitation : </td>
<td>
<input type="checkbox" name="sys"
value="win">Windows
<input type="checkbox" name="sys"
value="linux">Linux
<input type="checkbox" name="sys"
value="macos">MacOS
</td>
</tr>
<tr>
<td>Champ de type select</td>
<td>Pays : </td>
<td>
<select name="pays">
<option value="france">France</option>
<option
value="angleterre">Angleterre</option>
<option
value="belgique">Belgique</option>
</select>
</td>
</tr>
<tr>
<td>Champ de type textarea</td> <td>Commentaires :
</td>
<td>
<textarea name="comment" cols="40"
rows="5"></textarea>
</td>
</tr>
<tr>
<td>Bouton d'annulation</td> <td>&nbsp;</td>
<td><input type="reset" value="Annuler"></td>
</tr>
<tr>
<td>Bouton de soumission</td> <td>&nbsp;</td>
<td><input type="submit" value="Soumettre"></td>
</tr>
</table>
</form>
</body>
</html>