Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML | <tr> charoff Attribute

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 31 Oct, 2019
Improve Article
Save Article

The HTML tr 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 tr Element.


<tr 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>tr charoff </title>
        body {
            text-align: center;
        h1 {
            color: green;
        th {
            color: blue;
        td {
            border: 1px solid black;
            border-collapse: collapse;
        <h2> HTML tr charoff Attribute</h2>
                <!-- tr tag starts here -->
                <tr align="char" charoff=".">
                    <th>User Id</th>
                <!-- tr tag end here -->


Supported Browsers: The browsers supported by HTML tr 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
Related Articles

Start Your Coding Journey Now!