Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML | tbody charoff Attribute

  • Last Updated : 31 Oct, 2019

The HTML tbody charoff Attribute is used to sets the number of characters that aligned the characters specified by the char Attribute. This attribute can only be used in the char attribute and align attribute is specified in the tbody Element.


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

<tbody charoff="number">

Attribute Values:

  • number: It contains the numeric value which specify the alignment.
    1. Positive values: indicate the alignment to the right of the characters.
    2. Negative values: indicate the alignment to the left of the characters.


<!DOCTYPE html>
    <title>html tbody charoff Attribute</title>
        body {
            text-align: center;
        h1 {
            color: green;
        th {
            color: blue;
        td {
            border: 1px solid black;
            border-collapse: collapse;
        <h2> HTML tbody charoff 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 charoff 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!