<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<style>
.chess-board { border-spacing: 0; border-collapse: collapse; }
.chess-board th { padding: 1000px; }
.chess-board th + th { border-bottom: 1px solid #000; }
.chess-board th:first-child,
.chess-board td:last-child { border-right: 1px solid #000; }
.chess-board tr:last-child td { border-bottom: 1px solid; }
.chess-board th:empty { border: none; }
.chess-board td { width: 2000px; height: 2000px; text-align: center; font-size: 2000px; line-height: 0; }
.chess-board .light { background: white; }
.chess-board .dark { background: green; }
.button { width: 500px; height: 200px; font-size: 50px;line-height:0;font-weight: bold;border: 10px solid black; }
.letters { width: 500px; height: 500px; text-align: center; font-size: 600px; line-height: 0; }
</style>
</head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<body>
<table id="Chess_Board" class="chess-board">
<tbody>
<tr>
<th></th>
<th class="letters">a</th>
<th class="letters">b</th>
<th class="letters">c</th>
<th class="letters">d</th>
<th class="letters">e</th>
<th class="letters">f</th>
<th class="letters">g</th>
<th class="letters">h</th>
</tr>
<tr>
<th class="letters">8</th>
<td class="light">♜</td>
<td class="dark">♞</td>
<td class="light">♝</td>
<td class="dark">♛</td>
<td class="light">♚</td>
<td class="dark">♝</td>
<td class="light">♞</td>
<td class="dark">♜</td>
</tr>
<tr>
<th class="letters">7</th>
<td class="dark">♟</td>
<td class="light">♟</td>
<td class="dark">♟</td>
<td class="light">♟</td>
<td class="dark">♟</td>
<td class="light">♟</td>
<td class="dark">♟</td>
<td class="light">♟</td>
</tr>
<tr>
<th class="letters">6</th>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
</tr>
<tr>
<th class="letters">5</th>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
</tr>
<tr>
<th class="letters">4</th>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
<td class="light"></td>
<td class="dark"></td>
</tr>
<tr>
<th class="letters">3</th>
<td class="dark"></td>
<td class="light""></td>
<td class="dark""></td>
<td class="light""></td>
<td class="dark""></td>
<td class="light""></td>
<td class="dark""></td>
<td class="light""></td>
</tr>
<tr>
<th class="letters"">2</th>
<td class="light"">♙</td>
<td class="dark"">♙</td>
<td class="light"">♙</td>
<td class="dark"">♙</td>
<td class="light"">♙</td>
<td class="dark"">♙</td>
<td class="light"">♙</td>
<td class="dark"">♙</td>
</tr>
<tr>
<th class="letters"">1</th>
<td class="dark"">♖</td>
<td class="light"">♘</td>
<td class="dark"">♗</td>
<td class="light"">♕</td>
<td class="dark"">♔</td>
<td class="light"">♗</td>
<td class="dark"">♘</td>
<td class="light"">♖</td>
</tr>
</tbody>
</table>
<br>
<button class="button" onclick="Screenshot()">Download as Png</button>
<br>
</body>
<script>
function Screenshot(){
html2canvas(document.querySelector("#Chess_Board")).then(canvas => {
document.body.appendChild(canvas)
});}
</script>
</html>
Check out the image result here: [Result](https://i.sstatic.net/8sZq3.jpg)
To have "a" and "8" inside the ROOK's Cell like in this [example image](https://i.sstatic.net/OBAUR.png), please provide guidance to accomplish this.
I appreciate any assistance as I have been struggling with this problem for several days.
......................................................................................................0000000000000000000000000000000000000000000000