html5 - HTML Table Query on thead and tfoot -


what happens when have more 1 thead , tfoot tag inside table?how browser respond it?

it add header , footer existing table.

you check here https://jsfiddle.net/no220phd/3/

<table style="width:100%"> <thead> <tr> <th>head1 col1</th> <th>head1 col2</th> <th>head1 col3</th> </tr> </thead> <thead> <tr> <th>head2 col1</th> <th>head2 col2</th> <th>head2 col3</th> </tr> </thead>   <tr>     <td>jill</td>     <td>smith</td>           <td>50</td>   </tr>   <tr>     <td>eve</td>     <td>jackson</td>             <td>94</td>   </tr>   <tr>     <td>john</td>     <td>doe</td>             <td>80</td>   </tr>     <tfoot>     <th>foot1 col1</th> <th>foot1 col2</th> <th>foot1 col3</th>     </tfoot>     <tfoot>     <th>foot2 col1</th> <th>foot2 col2</th> <th>foot2 col3</th>     </tfoot> </table> 

Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -