TRENDING TOPICS

×

<tbody> tag in HTML

The <tbody> tag is used to defines the body content of an HTML table. It used to specify a part of a table body.

Important Description

  • The <tbody> element must have contain one or more <tr> elements.
  • Open and close tag of <tbody> optional.

Example of <tbody> tag

Result Look Like

Month Salary Monthly_Saving
January $1000 $200
February $1000 $200
March $1000 $200
Total_Salary $3000 $600

<tbody> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<tbody> Yes Yes Yes Yes Yes

Global Attributes

Event Attributes

Attributes

The "align", "charoff", and "valign" attributes are not supported in HTML5:

Attribute Value Description
align right
left
center
justify
char
Align attribute specifies the content inside the <tbody> element
charoff number Charoff attribute Sets the number of characters the content inside the <tbody> element
valign top
middle
bottom
baseline
Valign attribute define the content aligns inside the <tbody> element

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at "advertise@gdatamart.com"

© 2021 GDATAMART.COM (All Rights Reserved)