Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <head> <style> table, th, td { bordure: 1px solide noir; border-collapse: collapse; } th, td { padding: 15px; } </style> </head> <body> <h2>Cellpadding</h2> <p>Le remplissage des cellules spécifie l'espace entre le contenu de la cellule et ses bordures.</p> <table style="width:100%"> <tr> <th>Prénom</th> <th>Nom de famille</th> <th>Âge</th> </tr> <tr> <td>Jill</td> <td>Smith</td> <td>50</td> </tr> <tr> <td>Eve</td> <td>Jackson</td> <td>94</td> </tr> <tr> <td>John</td> <td>Doe</td> <td>80</td> </tr> </table> <p><strong>Conseil :</strong>Essayez de changer le padding à 5px.</p> </body> </html>