- <html>
- <head>
- <title>
- Créer des formulaires HTML
- </title>
- <script language = JavaScript>
- function controlerDonnees()
- {
- if (document.form1.nom.value == "") {
- alert("Veuillez saisir votre nom")
- return false
- }
- else{
- return true
- }
- }
- </script>
- </head>
- <body bgcolor="#ffdab9">
- <center>
- <table border cellpadding = 6>
- <tr align = center>
- <td bg color = cyan>
- Commentaires et suggestions !
- <br>
- <p>
- <form name = form1 onSubmit = "return controlerDonnees() "
- method = post
- enctype = "text/plain"
- action = "mailto:paradoxreal8@lycos.fr">
- Nom : <input type = "text" name = "nom" size=30 maxlength=30>
- <p>
- E-mail : <input type = "text" name="adresse" size=30
- maxlength=30>
- <p>
- <textarea rows=5 cols=60 name="corps"></textarea>
- <br>
- <br>
- <input type = submit = value "Envoyer">
- <input type = reset = value "Effacer">
- </form>
- </td>
- </tr>
- </table>
- </center>
- </body>
- </html>
<html>
<head>
<title>
Créer des formulaires HTML
</title>
<script language = JavaScript>
function controlerDonnees()
{
if (document.form1.nom.value == "") {
alert("Veuillez saisir votre nom")
return false
}
else{
return true
}
}
</script>
</head>
<body bgcolor="#ffdab9">
<center>
<table border cellpadding = 6>
<tr align = center>
<td bg color = cyan>
Commentaires et suggestions !
<br>
<p>
<form name = form1 onSubmit = "return controlerDonnees() "
method = post
enctype = "text/plain"
action = "mailto:paradoxreal8@lycos.fr">
Nom : <input type = "text" name = "nom" size=30 maxlength=30>
<p>
E-mail : <input type = "text" name="adresse" size=30
maxlength=30>
<p>
<textarea rows=5 cols=60 name="corps"></textarea>
<br>
<br>
<input type = submit = value "Envoyer">
<input type = reset = value "Effacer">
</form>
</td>
</tr>
</table>
</center>
</body>
</html>