Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> .show { empty-cells: show; } .hide { empty-cells: hide; } td, th { border: 1px solid #1c87c9; padding: 0.5rem; } </style> </head> <body> <h2>Exemple de la propriété empty-cells</h2> <p>Ici on a utilisée la valeur "show": </p> <table class="show"> <tr> <td>Moe</td> <td>Larry</td> </tr> <tr> <td>Curly</td> <td></td> </tr> </table> <br> <p>Dans cette table, on a utilisée la valeur "hide" :</p> <table class="hide"> <tr> <td>Moe</td> <td>Larry</td> </tr> <tr> <td>Curly</td> <td></td> </tr> </table> </body> </html>