Questo è html generato dal guestbook inserendo un messaggio:
Errori rilevati dal validatorecodice:<body> <div id="container"> [img]images/header.png[/img] <div id="wrapper"> <div id="content"> <h1>Guestbook</h1> <table><tr><td><table border="0" width="596" class="tabellaesterna"> <tr> <td valign="top"> <table border="0" width="574" cellspacing="0" cellpadding="4" class="tabellainterna" align="center"> <tr> <td width="100" align="left" class="intestazione"> Nome: </td> <td align="left" class="testo"> pippo </td> </tr> <tr> <td width="100" align="left" class="intestazione"> Città: </td> <td align="left" class="testo"> </td> </tr> <tr> <td valign="top" width="100" align="left" class="intestazione"> Commento: </td> <td valign="top" align="left" class="testo"> prova </td> </tr> <tr> <td align="left" width="100" valign="top" class="intestazione"> dettagli </td> <td align="right"> 01 maggio 2006 ore: 00:11 </td> </tr> </table> <td> </tr> <form method="post" action="guestbook.php" name="pageing"> <tr> <td> <input type="hidden" value="mostralista" name="azione" /> <input type="hidden" name="posizione" value="0" /> </td> </tr> </form> </table> <form method="post" action="guestbook.php" name="mostradettagli"> <input type="hidden" value="dettagli" name="azione" /> <input type="hidden" name="indice" value="" /> </form> </td></tr><tr><td> <script type="text/javascript" language="JavaScript"> <!-- function controlla() { if ((document.inseriscirecord.nome.value == '') || (document.inseriscirecord.commento.value == '')) { alert('inserisci almeno il nome e un commento!'); return false; } else { return true; } } //--> </script> <form method="post" action="guestbook.php" name="inseriscirecord" onsubmit="return controlla();"> <table border="0" width="598" cellspacing="1" cellpadding="4" class="tabellainterna"> <tr> <td colspan="2" class="intestazione" width="598"> Firma il nostro guestbook! </td> </tr> <tr> <th align="left"> nome: </th> <td> <input type="text" name="nome" size="40" class="areatesto" /> </td> </tr> <tr> <th align="left"> e-mail: </th> <td> <input type="text" name="email" size="40" class="areatesto" /> </td> </tr> <tr> <th align="left"> città: </th> <td> <input type="text" name="citta" size="40" class="areatesto" /> </td> </tr> <tr> <th align="left"> riferito da: </th> <td> <input type="text" name="contatto" size="40" class="areatesto" /> </td> </tr> <tr> <th align="left" valign="top"> commenti: </th> <td> <textarea name="commento" rows="5" cols="45" class="areatesto"></textarea> </td> </tr> <tr> <td colspan="2" class="intestazione"> <input type="hidden" value="inserimento" name="azione" /> <input type="hidden" name="dataora" value="01 maggio 2006 ore: 14:25" /> <input type="submit" name="postati" value="vai !" class="pulsanti" /> <input type="reset" name="cancell" value="cancella" class="pulsanti" /> </td> </tr> </table> </form> </td></tr></table></div> </div> <div id="navigation"> [img]images/home.png[/img] [img]images/gallery.png[/img] [img]images/mezzobicchiere.png[/img] [img]images/guestbook.png[/img] [img]images/contatti.png[/img] </div><div id="banner">Qui ci va il banner </div> </div> </body>