table color in html code example
Example 1: table css
tr , th , td {
border: 1px solid black;
padding: 5%;
text-align: center;
}
Example 2: how to add color to table in html
<table bordercolor="red">
tr , th , td {
border: 1px solid black;
padding: 5%;
text-align: center;
}
<table bordercolor="red">