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