Latest web development tutorials

HTML th char attribute

HTML th tag Reference Manual HTML <th> tag

Examples

The contents of the first header unit with "M" character alignment:

<table border="1">
<tr>
<th align="char" char="M">Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100.00</td>
</tr>
<tr>
<td>February</td>
<td>$10.00</td>
</tr>
</table>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all of the major browsers do not support char attributes.


Definition and Usage

HTML5 does not support the <th> char attributes.

char attribute specifies the header cell contents relative alignment of a character.

Only if the align attribute set to "char" when to use char property.

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


grammar

<th char="character">

Property Value

描述
character 规定将内容与之对齐的字符。


HTML th tag Reference Manual HTML <th> tag