HTML <th> char attribute
HTML <th> tag
Example
In the example below, the content of the first header cell should align to the "M" character:
<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 yourself!
|
Definition and Usage
The char attribute specifies the alignment of the content in a header
cell 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 page language.
Browser Support

Note: The char attribute is not supported by any of the major
browsers.
Syntax
Attribute Values
Value |
Description |
character |
Specifies the character to align the content to |
HTML <th> tag
Learn XML with <oXygen/> XML Editor - Free Trial!
 |
|
oXygen helps you learn to define,
edit, validate and transform XML documents. Supported technologies include XML Schema,
DTD, Relax NG, XSLT, XPath, XQuery, CSS.
Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!
Do you have any XML related questions? Get free answers from the oXygen
XML forum
and from the video
demonstrations.
Download a FREE 30-day trial today!
|
|