Stavolta l'errore di sintassi lo trova sull'ultima riga (</html> ) eppure è scritto esatto e l'ordine di chiusura dei tag è quello giusto....
<html>
<head>
<title> titolo di studio conseguito </title>
</head>
<body>
<table>
<form method="post" action=<?php $variable=$_SERVER["PHP_SELF"] ?>>
<tr><td>login</td>
<td><input type="text" name="codicefiscale" size="2" maxlength="2"><td></tr>
<tr><td>password</td>
<td><input type="text" name="password" size="2" maxlength="2"></td></tr>
<tr><td><input type="submit" value="invia"></td><td></td></tr>
</form>
</table>
</body>
</html>