We can set the width of all the
columns in a table element.
A column is a vertical arrangement
of cells in the table,
and
a common header defines it.
For example, in the code below,
we have three columns with three
headings:
Name
, Age
and Gender
.
From the code above,
we can observe that to
set the width for all columns,
we use the td
selector.
Once you set the width
for all the cells,
the same width will be set
for the columns too.