<html>
<head>
</head>
<body>
</body>
<script>
var lettere = [" ", 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J']; // coordinate 'y' disponibili
document.write("<table>");
for (let i = 0; i <= 10; i++) {
document.write("<tr>");
for (let j = 0; j <= 10; j++) {
if (i == 0)
{
if (j == 0)
document.write("<td></td>");
else
document.write("<td id='" + i+j + "'>" + lettere[j] + " </td>");
}
document.write("<td id='" + i+j + "'>x</td>");
}
document.write("</tr>");
}
document.write("</table>");
</script>
</html>