Tryit Editor v1.4

<html> <head> <style type="text/css"> table.coll { border-collapse: collapse } table.sep { border-collapse: separate } </style> </head> <body> <table class="coll" border="1"> <tr> <td>Peter</td> <td>Griffin</td> </tr> <tr> <td>Lois</td> <td>Griffin</td> </tr> </table> <br /> <table class="sep" border="1"> <tr> <td>Peter</td> <td>Griffin</td> </tr> <tr> <td>Lois</td> <td>Griffin</td> </tr> </table> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself