You are here: Reference > HTML > attributes > ch (col, tbody, td, tr, ...)

ch attribute | char attribute (col, tbody, td, tr, ...)

Browser support:
ch:
char:
Sets an alignment character. The alignment of the contents of the cells in the same column depends on this character. The first occurrence of the alignment character in each cell in a column will be on a vertical axis.
The functionality of these attributes is not implemented in commonly used browsers. For detailed technical information, visit the HTML 4.01 specification (W3C) site.
JavaScript page for this attribute: ch. You can find other example(s) there.

Possible values:

String that sets the aligment character.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the ch and the char attributes, but they have no effect in browsers:
<table border="1px">
    <colgroup>
        <col />
        <col align="char" ch="." char="." />
    </colgroup>
    <tbody>
        <tr>
            <td>Apple</td>
            <td>$5.50</td>
        </tr>
        <tr>
            <td>Pear</td>
            <td>$10.50</td>
        </tr>
    </tbody>
</table>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content