Answers for "how to make table in html and css"

1

basic css table

table, td, th {
  border: 1px solid black;
}

table {
  border-collapse: collapse;
}
Posted by: Guest on June-17-2021
0

html tables

<table></table>
    <td></td> <!-- td is a table cell-->
    <tr></tr> <!-- tr is a table row-->
    <th></th> <!-- th is the table header -->
    <thead></thead><tbody></tbody><tfoot></tfoot> <!-- table semantic -->
    <tr rowspan="2"></tr><!-- Span a row -->
    <tr colspan="2"></tr><!-- Span a column -->
Posted by: Guest on January-05-2021

Code answers related to "how to make table in html and css"

Browse Popular Code Answers by Language