Skip to content
Related Articles

Related Articles

Improve Article

How to group the body content in a table using HTML5 ?

  • Last Updated : 21 Oct, 2020

In this article, group the body content in a <table> element in a document. It is used to define a standard cell in an HTML table.


<tbody> ... </tbody>


<!DOCTYPE html>
        How to group the body content 
        in a table using HTML5?
        body {
            text-align: center;
        h1 {
            color: green;
        th {
            color: blue;
        td {
            border: 1px solid black;
            border-collapse: collapse;
            HTML5: How to group the body
            content in a table?
                    <th>User Id</th>
                    <td>@Yo Yo Honey singh</td>


Supported Browsers are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera<
  • Safri

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :