HTML colgroup char Attribute
HTML <colgroup> tag
Definition and Usage
The char attribute specifies alignment of the
content in the table cell around a single character.
The default value of this attribute is the decimal point character of the
current language (set by the lang attribute).
Use this attribute together with the align attribute set to "char".
This attribute is not well supported, and should be avoided.
Syntax
<colgroup char="character" />
|
Syntax Example
Attribute Values
Value |
Description |
character |
Specifies the character to align the text around. |
Browser Support

The attribute is not supported by any major browsers, and should be avoided.
Example
Source |
Output |
<table border="1">
<colgroup align="char" char="." />
<colgroup align="char" char="," />
<colgroup align="char" char=":" />
<tr>
<th colspan="3">This table contains
three table data cells</th>
</tr>
<tr>
<td>10.58</td>
<td>211,11</td>
<td>15:32</td>
</tr>
</table>
|
This table contains
three table data cells |
10.58 |
211,11 |
15:32 |
|
Try-It-Yourself Demos
colgroup
char attribute example
Align a column group around a single character.
HTML <colgroup> tag
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|