HTML TBODY Tag || Tbody Tag in HTML

HTML TBODY <tbody> Tag


The HTML TBODY <tbody> tag is used for grouping of table rows in an HTML table. It defines a block of rows that consist of a body of data for the parent <table> element. The <tbody> tag can be used with the <thead> tag and the <tfoot> tag in determining each part of the table (header, footer, body).

The <tbody> element should always come after a <thead> element and may come before or after a <tfoot> element. Browsers can use these elements to enable scrolling of the table body independently of the header and footer.

Also, when printing a large table that spans multiple pages, these elements can enable the table header and footer to be printed at the top and bottom of each page.

The <tbody> tag must be used in the follwing context: As a child of a <table> element, after any <caption>, <colgroup>, and <thead> elements.


The <tbody> tag is written as <tbody></tbody> with the body of data inserted between the start and end tags.


<!DOCTYPE html>
<title>HTML TBODY Tag</title>
 <h2>Example of TBODY Tag</h2>
<table border="1">
<th>Emp ID</th>
<th>Email ID</th>



Best WordPress Hosting


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price

Leave a Reply

    Waiting for your comments