HTML | <tbody> align Attribute Last Updated : 22 Feb, 2022 Comments Improve Suggest changes Like Article Like Report The HTML <tbody> align Attribute is used to set the horizontal alignment of text content inside the table body (tbody). Syntax: <tbody align="left | right | center | justify | char"> Attribute Value: left: It sets the text left-align. right: It sets the text right-align. center: It sets the text center-align. By default, it is set to center. justify: It stretches the text of paragraph to set the width of all lines equal. char: It sets the text-align to a specific character. Note: The <tbody> align Attribute is not supported by HTML 5. Example: html <!DOCTYPE html> <html> <head> <title> HTML tbody align Attribute </title> </head> <body> <h1>GeeksforGeeks</h1> <h2>HTML tbody align Attribute</h2> <table border="1" width="500"> <thead> <tr> <th>NAME</th> <th>AGE</th> <th>BRANCH</th> </tr> </thead> <tbody align="center"> <tr> <td>BITTU</td> <td>22</td> <td>CSE</td> </tr> </tbody> </table> </body> </html> Output: Supported Browsers: The browser supported by HTML <tbody> align Attribute are listed below: Google Chrome Internet Explorer Firefox Safari Opera Comment More infoAdvertise with us Next Article HTML | <tbody> align Attribute J jit_t Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML <td> align Attribute In HTML, the <td> (table data) element is used to define an individual cell within a table row (<tr>). It plays a crucial role in organizing and presenting structured data clearly. Whether displaying numerical values, text, or percentagesâsuch as 85% for progress or success ratesâthe 2 min read HTML <tr> align Attribute The HTML <tr> align Attribute is used to set the horizontal alignment of text content inside the table row. The HTML <tr> element itself doesn't have an align attribute. For aligning content within a table row, use the CSS text-align property on the individual <td> or <th> el 1 min read HTML <th> align Attribute The HTML <th> align Attribute is used to set the horizontal alignment of text content inside the table header cell. Instead, use CSS for alignment properties such as text-align to specify the horizontal alignment and vertical-align for vertical alignment within table headers.Note: The align at 2 min read HTML | <thead> align Attribute The HTML <thead> align attribute is used to set the horizontal alignment of text content inside the table head (thead) section. Syntax: <thead align="left|right|center|justify|char"> Note: This attribute has been DEPRECATED and is no longer recommended. Attribute Value: left: It sets the 1 min read HTML | <tfoot> align Attribute The HTML <tfoot> align Attribute is used to set the horizontal alignment of text content inside the table footer (tfoot). It is not supported by HTML 5. Syntax: <tfoot align="left | right | center | justify | char"> Attribute Value: left: It sets the table footer text left-align. right: 1 min read Like