HTML <thead> charProperty

HTML <thead> Tag

Example

Align the content in the <thead> element with the character "M":

<table border="1" width="100%">
  <thead align="char" char="M">
    <tr>
      <th>Month</th>
      <th>Savings</th>
    </tr>
  </thead>
    <tr>
      <td>January</td>
      <td>$100</td>
    </tr>
    <tr>
      <td>February</td>
      <td>$80</td>
    </tr>
</table>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all mainstream browsers do not support the char attribute.


Definition and Usage

HTML5 does not support the <thead> char attribute.

The char attribute specifies the alignment of the content in the <thead> element relative to a character.

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

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


Syntax

<thead char="character">

Property value

Value Description
character Specifies the character against which content is aligned.


HTML <thead> Tagother extensions