<!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; } </style> </head> <body> <h1>HTML thead, tbody, and tfoot elements</h1> <table> <thead> <tr> <th>Stodent</th> <th>Degree</th> </tr> </thead> <tbody> <tr> <td>Rony</td> <td>B.E/ B.Tech</td> </tr> <tr> <td>Johny</td> <td>Phd</td> </tr> </tbody> <tfoot> <tr> <td>Prayag</td> <td>M.Tech</td> </tr> </tfoot> </table> </body> </html>