i want to span a heading element to include another sub headings elements like that:
<thead>
<th rowspan="2">main heading1</th>
<th rowspan="2">main heading2</th>
<th colspan="3">main heading3
<thead>
<tr>
<th>sub heading1</th>
<th>sub heading2</th>
<th>sub heading3</th>
<tr>
<thead>
</th>
<th rowspan="2">main heading4</th>
</thead>
is that possible ?
If you want a table inside a table, you need to use the
<table>element again. You can’t just place anothertheadinside thethead. You’re also missing<tr>tags and if you want a table inside a table usingrowspanandcolspanincorrectly.Option 1: You could use 2 rows in your
thead.Option 2: A table inside a table.