HTML
CSS
PHP
Deno
Examples
Do It Yourself
Blog
Type in your code below
Run
<html><head><style> .table-example{ background-color: yellow; } .table-example td{ background-color: red; } </style> </head><body><table cellpadding="15" cellspacing="15" class="table-example"> <tbody> <tr> <td><span style="background-color:white;">Cell 1</span></td> <td><span style="background-color:white;">Cell 2</span></td> <td><span style="background-color:white;">Cell 3</span></td> <td><span style="background-color:white;">Cell 4</span></td> </tr> </tbody> </table></body></html>
Related Chapters
HTML Tables
CSS Tables