Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML | tbody char Attribute

  • Last Updated : 20 Oct, 2020

The HTML tbody char Attribute is used to specify the alignment to the character of content in a tbody element. This attribute can only be used if the align attribute is set to “char”. Its default value is a decimal point for page language. It is not supported by HTML 5.


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

<tbody char="character">

Attribute Values:

  • character: It is used to specify the character to the align the content.


<!DOCTYPE html>
    <title>html tbody char Attribute </title>
        body {
            text-align: center;
        h1 {
            color: green;
        th {
            color: blue;
        td {
            border: 1px solid black;
            border-collapse: collapse;
        <h2> HTML tbody char Attribute</h2>
                    <th>User Id</th>
            <!-- tbody tag starts from here -->
            <tbody align="char" char="." charoff="2">
            <!-- tbody tag ends here -->


Supported Browsers: The browsers supported by HTML tbody char Attribute are listed below:

  • Google Chrome Not supported
  • Internet Explorer Not supported
  • Firefox Not supported
  • Apple Safari Not supported
  • Opera Not supported

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!