Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> table, td, th { border: 1px solid black; } .table { border-collapse: separate; border-spacing: 20px; } </style> </head> <body> <h2>Exemple de border-spacing: 20px;</h2> <table class="table"> <tr> <th>Prénom</th> <th>Nom</th> </tr> <tr> <td>Marie</td> <td>Legrande</td> </tr> <tr> <td>Michel</td> <td>Larousse</td> </tr> </table> </body> </html>