<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Переставь фигуры</title>
</head>
<body>
<table border=6 align="center"><caption>Переставь фигуры</caption>
<tr><td>3</td> <td><input type="button" name="button1" value=♕
style="width:50px;height:50px;font-size:32px"onClick="onClick(0,0,button1.value)">
</td><td><input type="button" name="button2" value=♕
style="width:50px;height:50px;font-size:32px"onClick="onClick(0,1,button2.value)"></td>
<td><input type="button" name="button3" value=♕
style="width:50px;height:50px;font-size:32px"onClick="onClick(0,2,button3.value)"></td>
</tr> <tr> <td>2</td>
<td><input type="button" name="button4" value="";
style="width:50px;height:50px;font-size:32px"onClick="onClick(1,0,button4.value)"></td>
<td><input type="button" name="button5" value="";
style="width:50px;height:50px;font-size:32px"onClick="onClick(1,1,button5.value)"></td>
<td><input type="button" name="button6" value="";
style="width:50px;height:50px;font-size:32px"onClick="onClick(1,2,button6.value)"></td>
</tr><tr><td>1</td>
<td><input type="button" name="button7" value=♟
style="width:50px;height:50px;font-size:32px"onClick="onClick(2,0,button7.value)"></td>
<td><input type="button" name="button8" value=♟
style="width:50px;height:50px;font-size:32px"onClick="onClick(2,1,button8.value)"></td>
<td><input type="button" name="button9" value=♟
style="width:50px;height:50px;font-size:32px"onClick="onClick(2,2,button9.value)"></td>
</tr> <tr> <td> </td> <th>a</th> <th>b</th> <th>c</th> </tr> </table>
<script>
</script>
</body>
</html>