How to add multiple header HTML table?
16,368
Have a look at this fiddle
All about colspan and rowspan
<table>
<thead>
<tr>
<th rowspan="2" colspan="1" >
Client Name
</th>
<th rowspan="2" colspan="1">
Date
</th>
<th rowspan="1" colspan="5">
All Appointments
</th>
<th rowspan="1" colspan="3" >
Fulfilled Appointments
</th>
</tr>
<tr>
<th>Total number of individual appointments</th>
<th >Hours Of Care Delivered</th>
<th>Total Value</th>
<th>Average Cost Per Hour</th>
<th>Average Cost Per Hour Per Carer</th>
<th>Total Number</th>
<th>Hours Of Care Fulfilled</th>
<th>Total Value</th>
</tr>
</thead>
<tbody></tbody>
</table>
Author by
BM RAFIQ
Hi, Myself BM Rafikul Islam, people call me Rafiq, btw. I love to work with fun, also like watching movies and a food addicted person. I am a Web Developer with 5 years of experience. I have experience on this following topics: HTML5, CSS3, Sass, Javascript, jQuery, PHP, WordPress, MySql. I have damn creative idea's at Front End Design and Back End too. I love to share my idea's what I've acquired, though I don't know much, got very little knowledge.
Updated on June 04, 2022Comments
-
BM RAFIQ almost 2 years
I want to Design a table that has multiple headers. The table design is there:
-
JJJ almost 7 yearsWhat's stopping you?
-
Sank6 almost 7 yearsWelcome to Stack Overflow! You need to try to write the code yourself. After doing research and you still have a problem you can post what you've tried with a clear explanation of what isn't working and providing a Minimal, Complete, and Verifiable example. Read How to Ask a good question. Also, be sure to take the tour.
-