ragazzi Questo e un esempio che sono riuscito a ricavare
codice:
<!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"> <head> <title>test</title> <meta name="Generator" content="EditPlus" /> <meta name="Author" content="" /> <meta name="Keywords" content="" /> <meta name="Description" content="" /> </head> <body> <form method="post" action="test.html"> <table style="width: 298px; height: 72px;" border="0" cellpadding="4" cellspacing="1"> <tbody> <tr> <td colspan="2" align="left">:Domanda n1 - Prova prova ? </td> </tr> <tr> <td>Risposta 1 </td> <td> <input name="risposta" type="text" /></td> </tr> <tr> <td colspan="2"> <input name="invio" value="invio" type="submit" /> </td> </tr> </tbody> </table>
</form> </body> </html>
Cliccando su invio, dovrebbè aprirsi la prossima domanda se la risposta e giusta,
Se no, deve uscirse scritto che è errato