html = """
<html>
<head>
<style>
/* Add your CSS styles here */
</style>
</head>
<body>
<table>
{% for row in board %}
<tr>
{% for square in row %}
<td class="{{ square }}"></td>
{% endfor %}
</tr>
{% endfor %}
</table>
</body>
</html>
"""
board = [ ["black", "white", "black", "white", "black", "white", "black", "white"],
["white", "black", "white", "black", "white", "black", "white", "black"],
["black", "white", "black", "white", "black", "white", "black", "white"],
["white", "black", "white", "black", "white", "black", "white", "black"],
["black", "white", "black", "white", "black", "white", "black", "white"],
["white", "black", "white", "black", "white", "black", "white", "black"],
["black", "white", "black", "white", "black", "white", "black", "white"],
["white", "black", "white", "black", "white", "black", "white", "black"],
]
print(html.format(board=board))