THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <tbody> char Attribute

HTML tbody Tag Reference HTML <tbody> tag

Example

Align the content inside the <tbody> element to the "." character:

<table>
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tbody align="char" char=".">
    <tr>
      <td>January</td>
      <td>$100.00</td>
    </tr>
    <tr>
      <td>February</td>
      <td>$80.00</td>
    </tr>
  </tbody>
</table>

Try it Yourself »

Definition and Usage

The <tbody> char attribute is not supported in HTML5.

The char attribute specifies the alignment of the content inside the <tbody> element to a character.

The char attribute can only be used if the align attribute is set to "char".

The default value of char is the decimal-point character of the current language.


Browser Support

Attribute
char Not supported Not supported Not supported Not supported Not supported

Syntax

<tbody char="character">

Attribute Values

Value Description
character Specifies the character to align the content to

HTML tbody Tag Reference HTML <tbody> tag

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: