how to add borders to table css code example Example: table border css table, th, td { border: 1px solid black; }