Web Design

Only members of this group can post notes and use other group resources. Join now to get access to all group resources!
Log in or register to join this group

HTML/XHTML Multiple <tbody> in same <table>  Viewed 20272 time(s), 2 post(s)., 1/12/2014 8:07:22 PM - by Maya

Maya
Maya 1/12/2014 8:07:22 PM

Is it possible to have multiple <tbody> in same <table>?

This content has not been rated yet. 
141 Reputation 9 Total posts
1
Sam
Sam 1/14/2014 10:04:07 PM

Yes, you may try this example

<table>
    <thead>
        <tr><th>Student</th><th>Class</th><th>grade</th></tr>
    </thead>
    <tbody>
        <tr><td>Student 1</td><td>Class01</td><td>4</td></tr>
        <tr><td>Student 1</td><td>Class02</td><td>4</td></tr>
 
    </tbody>
    <tbody>
        <tr><td>Student 2</td><td>Class01</td><td>4</td></tr>
        <tr><td>Student 2</td><td>Class02</td><td>3</td></tr>
 
 
    </tbody>
</table>

This content has not been rated yet. 
233 Reputation 37 Total posts
2