HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML col Tag

HTML col Tag



The col tag specifies column properties for each column within a colgroup element. It is useful when we want to apply a style to the entire column unlike applying styles on each cell of each row in a table. It is a self-closing tag i.e, it do not need an ending tag.


Attribute Explanation:-


Attribute Value Description
span number Specifies number of columns a col element should span




Its syntax is:-  < col >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML