Ciao tutti, ho un problema molto urgente e se qualcuno mi potesse aiutare gli sarei molto grato.
Sto cercando di validare una pagina html ma non ci riesco e vorrei un consiglio
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Uno dei problemi che W3C mi segnala è il seguente:
# Error Line 63, Column 22: document type does not allow element "SELECT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag
<select name="annata">
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "
" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Il problema si trova all'interno di questa table:
<table id="table_storico" cellpadding="1" cellspacing="1">
<caption>CATEGORIA: Eccellenza</caption><tr>
<th>Girone</th>
<th>Azione</th>
<th>Stagione successiva</th>
</tr>
<tr class="dispari">
<td>A</td>
<td><form action="/scommesse/main_admin.php" method="POST">
<select name="annata">
<option value="2008">2008/2009</option>
<option value="2007">2007/2008</option>
</select>
<select name="azione">
<option value="mostra_partite">Mostra partite</option>
<option value="mostra_squadre">Mostra squadre</option>
<option value="cancella">Cancella</option>
</select>
<input type="hidden" name="categoria" value="Eccellenza">
<input type="hidden" name="girone" value="A">
<input type="submit" name="esegui" value="Esegui" size="20">
</form></td>
<td><form action="/scommesse/main_admin.php" method="POST">
<input type="hidden" name="categoria" value="Eccellenza">
<input type="hidden" name="girone" value="A">
<input type="hidden" name="anno_nuova_stagione" value="2009">
<input type="submit" name="nuova_stagione" value="2009/2010" size="20">
</form></td>
</tr>
</table>
Per favore...Aiuto!!