J'ai fait un formulaire de contact qui a bien fonctionné. Depuis hier, lorsque les personnes cliquent sur "envoyer", une page de Orange s'ouvre et il est dit que l'url est introuvable.
J'ai regardé avec W3C, ce n'est pas beau et je ne sais pas corriger.
Voici le code source complet de mon formulaire de contact et plus bas les erreurs qui me sont rapportés par le valideur :
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html
lang="fr-fr"><head><title>Formulaire</title>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1"><!--
--><meta
name="author" content="zette gasbarre"><style
type=""><!--
td{font-family:Arial,Helvetica;font-size:12px;color:maroon;}
th{font-family:Arial,Helvetica;font-size:18px;color:maroon;}
a{text-decoration:none;color:white;font-weight:bold;letter-spacing:2px}
tt{font-family:Arial,Helvetica;font-size:10px;color:#404040;}
.logo{font-family:Times,Times New Roman;font-size:24px;color:maroon;font-weight:bold;} --></style><!--
--><script
type="text/javascript"><!--
/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
function VerifForm()
{
adresse = document.krucial.TO.value;
var place = adresse.indexOf("@",1);
var point = adresse.indexOf(".",place+1);
// ligne suivante originale = if ((place > -1)&&(adresse.length >1)&&(point > 1))
if ((place > -1)&&(adresse.length >9)&&(point > 1))
{
document.krucial.submit();
}
else
{
alert('Entrez une adresse e-mail valide!!');
// ajout perso
with (document.krucial.TO) {focus(); select();}
}
}
// --></script></head>
<body
style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);"
alink="#000099" link="#000099" vlink="#990099"><div
style="text-align: center;"><a
style="color: rgb(153, 51, 0);"
href="http://perso.orange.fr/zette.gasbarre/zettechinois@wanadoo.fr">http://perso.orange.fr/zette.gasbarre/</a></div>
<p style="text-align: center; color: rgb(0, 102, 0);"><big><big><span
style="font-family: Monotype Corsiva;">N'hésitez
pas à donner votre avis sur ce site, ainsi que vos
commentaires et vos
suggestions</span></big></big></p>
<div style="text-align: center;"><small>Merci de
bien vouloir renseigner les champs suivants et
d'appuyer sur le bouton ENVOYER<br>
(les champs marqués d'un * doivent obligatoirement
être remplis)</small></div>
<form action="http://pages.perso.orange.fr/client/php/formulaire.php"
method="post" name="krucial"><div
style="text-align: center;"><inputtype ="hidden"
name="url"
value="http://perso.orange.fr/zette.gasbarre//merci.htm"
type="hidden"> <input name="sujet"
value="Avis général sur le site" type="hidden"> </inputtype></div><dl><dt
style="text-align: center;"><a name="top"></a>
<table
style="text-align: left; margin-left: auto; margin-right: auto; width: 759px; height: 348px;"
border="0" cellpadding="0" cellspacing="0"><tbody><tr></tr>
<tr><td colspan="2"><dl><dt>
<center><tt><br></tt></center></dt></dl>
</td></tr><tr><td colspan="1" width="150">
<p align="right"><span style="color: rgb(204, 0, 0);"><span
style="color: rgb(51, 102, 102);">Votre nom</span>
* </span><span
style="color: rgb(0, 0, 0);"></span></p>
</td><td
style="vertical-align: middle; background-color: transparent;"
colspan="2"><p><input name="*Nom" value=""
size="60" type="text"></p></td>
</tr><tr><td colspan="1" width="150"><p
align="right"><span style="color: rgb(204, 0, 0);"><span
style="color: rgb(51, 102, 102);">Votre adresse E-mail</span>
</span>* </p>
</td><td colspan="2"><p><input name="TO"
value="" size="60" type="text"><font
color="#000000"><b><big><big><span
style="color: rgb(204, 0, 0);"></span></big></big></b></font></p></td>
</tr><tr><td colspan="1" height="26"
width="150"><p align="right"><span
style="color: rgb(51, 102, 102);">Rubrique </span></p>
</td><td colspan="2" height="26"><p>
<select name="Rubrique"><option>tutoriaux </option><option>trucs
et astuces </option><option>securite </option><option>outlook
express </option><option>incredimail </option><option>recettes
</option><option>voyages </option><option
selected="selected">tout le site </option><option>photos
</option><option></option><option></option></select><span
style="color: rgb(204, 0, 0);"><----
merci de choisir</span></p>
</td></tr><tr><td colspan="1" height="26"
width="150">
<p align="right"><span style="color: rgb(204, 0, 0);"><span
style="color: rgb(51, 102, 102);">Appréciation</span> </span></p>
</td><td colspan="2" height="26"><p> <span
style="color: rgb(51, 102, 102);">Très
Bon</span> <input name="Apréciation" value="Très Bon"
type="radio"><span style="color: rgb(51, 102, 102);">Bon</span>
<input name="Apréciation" value="Bon" type="radio"><span
style="color: rgb(51, 102, 102);">Moyen</span>
<input name="Apréciation" value="Moyen" type="radio"><span
style="color: rgb(51, 102, 102);">Passable</span>
<input name="Apréciation" value="Passable" type="radio"></p></td></tr><tr>
<td colspan="1" valign="top" width="150"><p
align="right"> </p>
<p align="right"><span style="color: rgb(51, 102, 102);">Questions,
commentaires,suggestions</span><span
style="color: rgb(204, 0, 0);"><span
style="text-decoration: underline;"><span
style="font-weight: bold;"></span></span></span></p>
</td><td colspan="2"><p><textarea
name="Commentaires" rows="8" cols="56"
wrap="virtual"></textarea></p></td>
</tr><tr><td colspan="2"><p
style="width: 446px;">M'envoyer
par e-mail
les
nouveautés sur ce site <a
href="mailto:mailto:zettechinois@wanadoo.fr?subject=Avis_Site"><input
name="Inscription_mailing" value="Inscript_mail_list"
checked="checked" type="checkbox"></a></p>
</td></tr><tr bgcolor="#999999"><td
colspan="1" valign="top" width="150">
<center><input value="Annuler" name="Annuler"
type="reset"></center></td><td valign="top"
width="220"><center><a
href="http://perso.orange.fr/zette.gasbarre/zettechinois@wanadoo.fr"><input
name="Envoyer" value=" ENVOYER " onclick="VerifForm(); "
type="submit"></a></center>
</td><td><center><input name="Fermeture"
value="Fermer" onclick="top.self.close(); return false ; "
type="button"></center></td>
</tr><tr><td colspan="2"><hr></td>
</tr><tr bgcolor="#ff9966"><td colspan="1"
width="150"><p> </p>
</td><td width="220"><p> </p>
</td><td><p align="right"><a
href="mailto:zettechinois@wanadoo.fr?subject=Avis_Site"><br></a></p>
</td></tr></tbody></table>
<font face=" Helvetica, Arial"> </font></dt>
</dl></form><p></p></body></html>
voici ci-dessous les erreurs qu'on me signale, je n'arrive pas à corriger, je dirai même que je ne sais corriger :
Ligne Colonne: 144
44 Erreurs: une spécification d'attribut doit débuter avec un nom ou un nom de jeton
Position de l'erreur: tyle="text-align: center;"><inputtype ="hidden" name="url" value="http://per
Colonne: 133
Erreurs: La balise `inputtype` est inconnue. Voici la liste des balises autorisées.
Position de l'erreur: ial"><div style="text-align: center;"><inputtype ="hidden" name="url" value=
Ligne Colonne: 1
46 Erreurs: table est interdit ici. Il manque la balise `APPLET`, `OBJECT`, `MAP`, `IFRAME`, `BUTTON`.
Position de l'erreur: <table style="text-align: left; margin-left: auto; margin-right: auto; width
Ligne Colonne: 9
47 Erreurs: Balise fermante pour TR trouvée avant la fin
Position de l'erreur: <tr></tr>
Ligne Colonne: 1
50 Erreurs: center est interdit ici. Il manque la balise `APPLET`, `OBJECT`, `MAP`, `IFRAME`, `BUTTON`.
Position de l'erreur: <center><tt><br></tt></center>
Ligne Colonne: 53
90 Erreurs: L'attribut `WRAP` n'est pas autorisé dans la balise textarea.
Position de l'erreur: ...ame="Commentaires" rows="8" cols="56" wrap="virtual"></textarea></p></td>
Ligne Colonne: 150
99 Erreurs: When using embedded events (Event-Handler), script language must be specified within Meta-Tag
(z.B. <meta http-equiv="Content-Script-Type" content="text/javascript">)
or HTTP-Header (Content-Script-Type: text/javascript)
Position de l'erreur: nput name="Envoyer" value=" ENVOYER " onclick="VerifForm(); " type="submit">
Merci de m'aider, en attendant j'ai enlevé le formulaire de mon site.
Merci encore
zette
Message envoyé avec : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)