How to format an HTML Table coulmn wise

Hi

I have a table where I want each header and column different alignment in HTML format.

We have table to HTMl where I can just do whole table alignment not column, any help would be helpful and

col1 should left

col2 right

col3 center