Kisphp Complex Table

Example from kisphp article https://www.kisphp.com/html/how-to-create-a-complex-table-in-html

by Marius Bogdan

HTML

<table border="1">
<!-- Row A -->
<tr>
    <td colspan="3">1</td>
    <td>4</td>
    <td rowspan="3">5</td>
</tr>
<!-- Row B -->
<tr>
    <td>1</td>
    <td rowspan="2">2</td>
    <td>3</td>
    <td>4</td>
</tr>
<!-- Row C -->
<tr>
    <td rowspan="2">1</td>
    <td>3</td>
    <td>4</td>
</tr>
<!-- Row D -->
<tr>
    <td colspan="3">2</td>
    <td>5</td>
</tr>
<!-- Row E -->
<tr>
    <td>1</td>
    <td>2</td>
    <td colspan="3">3</td>
</tr>
</table>

CSS

td {
  min-width: 30px;
  min-height: 30px;
  text-align: center;
}