Bonsoir all,
voila j'ai des petits souci a trouvé comment réglé mon code pour le validé en w3c.
Pour commencer je suis en :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
la page ou j'ai des souci en w3c : Lien

Et ici les erreurs que j'ai sur le site W3C

Validation Output: 6 Errors

1. Error Line 222, Column 39: end tag for "select" which is not finished

</select>01</td>



Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.
2. Error Line 333, Column 22: document type does not allow element "tr" here; assuming missing "table" start-tag

<td><tr><td><div><u>Nouveau</u> : Pour afficher ici votre salon, …


3. Error Line 334, Column 10: end tag for "br" omitted, but OMITTAG NO was specified

<br></div><br /></td></tr><tr><td><div align='left' class='Style3'><input type=…



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
4. Info Line 334, Column 1: start tag was here

<br></div><br /></td></tr><tr><td><div align='left' class='Style3'><input type=…

5. Error Line 334, Column 245: document type does not allow element "tr" here

…lic;'>7 Tchateurs</span></div></td><tr><td colspan='2'><div align='left' class…



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
6. Error Line 334, Column 477: end tag for "tr" omitted, but OMITTAG NO was specified

…='20' value='' class='longueur_inp' id='c51' name='c51' /></div></td></tr></td>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
7. Info Line 334, Column 27: start tag was here

<br></div><br /></td></tr><tr><td><div align='left' class='Style3'><input type=…

8. Error Line 334, Column 477: end tag for "table" omitted, but OMITTAG NO was specified

…='20' value='' class='longueur_inp' id='c51' name='c51' /></div></td></tr></td>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
9. Info Line 333, Column 19: start tag was here

<td><tr><td><div><u>Nouveau</u> : Pour afficher ici votre salon, …

donc je c'est ou son les lignes de code a modifier mais je n'arrive pas

1er erreur le select :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
<td><select name="dpt" class="longueur_sel " id="dpt">
                <?php if ( isset($_COOKIE['dpt'])) { ?>
                <option value="<?php echo $_COOKIE['dpt']; ?>" selected="selected"> <?php echo $_COOKIE['dpt']; ?> </option>
                <?php } ?>
              </select></td>
erreur :

Line 222, Column 39: end tag for "select" which is not finished

</select>01</td>


ici c'est les 6 erreurs qui son en includ pour afficher les salons privés

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
			if (eregi("----- Actualisé le ",$liste[0])) { 
				$buff = "$liste[0]h$liste[1]";		
				echo "<tr><td><div><u>Nouveau</u> : Pour afficher ici votre salon, au moins <b>5</b> personnes doivent &ecirc;tre connect&eacute;es dessus </div></td></tr><tr><td colspan='2'><div class='centrer'>".$buff."</div><br /></td></tr>";
			} elseif ((trim($liste[0]) != "<br>") && (trim($liste[0]) != "OFF")) { 
				if ($pos == "R") { echo "<tr>"; }
				echo "<td><div align='left' class='Style3'><input type='checkbox' value='".trim($liste[0])."'  id='c".$i."' name='c".$i."' onclick='verif_nombre_salon();' /> ".trim($liste[0])." : <span style='font-style: italic;'>".trim($liste[1])."</span></div></td>";	
				if ($pos == "L") { echo "</tr>"; }
				$i++; $pos=($pos=="R") ? "L" : "R";  
			}
		}
		fclose($inF);
 
		if ($i < 9) {	echo "<tr><td><div class='centrer'>- <b><u>Actuellement, Aucun salon priv&eacute;</u></b> -</div></td></tr>"; }
		echo "<tr>";
		echo "<td colspan='2'><div align='left' class='Style3'> <br />Entrez ici le nom d'un <b><u>autre salon priv&eacute;</u></b> pour le rejoindre: <input maxlength='20' value='' class='longueur_inp' id='c51' name='c51' /></div></td>";
		echo "</tr>";
 
 
	}
}
et ici c'est mon include de mon index.php :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
<div id="affichesalonpv">
          <table width="100%">
            <tr>
              <td>&nbsp;</td>
              </tr>
            <tr>
              <td><?php $chan=""; include('../scripts/nombre_user2.php');?></td>
              </tr>
            <tr>
              <td>&nbsp;</td>
              </tr>
          </table>
        </div>
j'éspére avoir tout mis correctement et que vous pourrait m'aidai a résourdre se problème.

j'ai oublier de vous dire que sur 99 erreurs il en reste entre 4 et 6 et suivant se que je modifie bah sa en rajoute ou sa décale sur ma page :/

Cordialement Stéphane