Skip to content
Related Articles

Related Articles

Improve Article

HTML | <col> char Attribute

  • Last Updated : 31 Oct, 2019
Geek Week

The HTML <col> char attribute is used to set the alignment of the content in a column in a character. It can only be used if the align attribute is set to “character”. The default value of char is the decimal-point character of the page language.


<col char="character">

Attribute Values:

  • character: It specifies the alignment of content to a character.

Note: It is not supported by HTML 5. CSS property is used instead of this attribute.


<!DOCTYPE html> 
        HTML col char Attribute 
    <h2>HTML col char Attribute</h2
    <table border="1"
        <caption>Author Details</caption
        <col width="150" align="char" char="."
        <col width="80" align="char" char="."
        <col width="120" align="char" char="."


Supported Browsers: It is not supported by any major browsers.

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :