Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> table, td, th { border: 1px solid black; } .table { border-collapse: separate; border-spacing: 20px; background-color: #eee; } </style> </head> <body> <h2>Пример border-spacing: 20px;</h2> <table class="table"> <tr> <th>Имя</th> <th>Фамилия</th> </tr> <tr> <td>Mary</td> <td>Peterson</td> </tr> <tr> <td>Maxim</td> <td>Brown</td> </tr> </table> </body> </html>