Skip to content
Related Articles

Related Articles

HTML | <tbody> valign Attribute

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 22 Feb, 2022

The HTML <tbody> valign Attribute is used to specify the vertical alignment of table cell content.


<tbody valign="top | middle | bottom | baseline">

Attribute Value:

  • top: It sets the content to top-align.
  • middle: It sets the content to middle-align.
  • bottom: It sets the content to bottom-align.
  • baseline: It sets the content to baseline. The baseline is the line where most of the characters sit. It is a default value.

Note: The <tbody> valign Attribute is not supported by HTML 5.


<!DOCTYPE html>
        HTML tbody valign Attribute
    <h2>HTML tbody valign Attribute</h2>
    <table border="1" 
        <tbody valign="middle">
            <tr style="height:50px;">
            <tr style="height:50px;">


Supported Browsers: The browser supported by HTML <tbody> valign Attribute are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!