Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> .show { empty-cells: show; } .hide { empty-cells: hide; } td, th { border: 1px solid #1c87c9; padding: 0.5rem; } </style> </head> <body> <h2>Пример свойства empty-cells</h2> <p>Использовано значение "show": </p> <table class="show"> <tr> <td>Moe</td> <td>Larry</td> </tr> <tr> <td>Curly</td> <td></td> </tr> </table> <br> <p>Использовано значение "hide":</p> <table class="hide"> <tr> <td>Moe</td> <td>Larry</td> </tr> <tr> <td>Curly</td> <td></td> </tr> </table> </body> </html>