grazie

a me visto che interessava solamente il codice javascript e la tavola 10x10 ho tolto gli stili e ho fatto semplicemente così:
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>esercizi javascript n.6</title>
</head>	

<body>	

	<script type="text/javascript">
	<!--//	
		var table="<table border='1'>";
		for (i=1;i<=10;i++) {
			table=table +"<tr>";
			for (j=1;j<=10;j++) {
				table = table + "<td>" + (i*j) + "</td>";
			}
			table = table + "</tr>";
		}
		table = table + "</table>";
			document.write(table);
	//-->
	</script>	
	



</body>
</html>
il += l'ho sostituito con una formula intera per una mia maggiore comprensione visto che sto agli inizi

Però quando vado a convalidare la pagina mi dà errore:
codice:
line 16 column 42 - Errore: end tag for element "TD" which is not open
line 18 column 24 - Errore: end tag for element "TR" which is not open
line 20 column 26 - Errore: end tag for element "TABLE" which is not open
da cosa dipende?