If you are building a responsive website, then you would know how difficult it is to manage HTML tables.
So today we are going to tell you how you can create a table using DIV and CSS.
For this you will also have to use CSS, so that you can style the table properly.
Scroll down and find the required HTML and CSS code.
CSS Code:
.w3Table { display: table; }
.w3TableRow { display: table-row; }
.w3TableHeading { display: table-header-group; }
.w3TableBody { display: table-row-group; }
.w3TableFoot { display: table-footer-group; }
.w3TableCell, .w3TableHead { display: table-cell; }
HTML Code:
Task Name
Cost
Status
Designing
$10.00
Done
Development
$20.00
Done
SEO
$30.00
Done
Sum
$60.00
All Done
Example:
Task Name
Cost
Status
Designing
$10.00
Done
Development
$20.00
Done
SEO
$30.00
Done
Sum
$60.00
All Done