how to set border of a table in html code example Example: table border css table, th, td { border: 1px solid black; }