style css for table code example
Example 1: table border css
table, th, td {
border: 1px solid black;
}
Example 2: table css
tr , th , td {
border: 1px solid black;
padding: 5%;
text-align: center;
}
table, th, td {
border: 1px solid black;
}
tr , th , td {
border: 1px solid black;
padding: 5%;
text-align: center;
}