border = 1 px solid black html in style code example Example: table border css table, th, td { border: 1px solid black; }