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