Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <html> <head> <title>Example</title> <!-- CSS --> <style type="text/css"> table.myTable { border-collapse: collapse; } table.myTable td, table.myTable th { border: 1px solid yellowgreen; padding: 5px; } </style> </head> <body> <!-- HTML --> <table class="myTable"> <tr> <th>Table header</th><th>Table header</th> </tr> <tr> <td>Table cell 1</td><td>Table cell 2</td> </tr> </table> </body> </html>
Preview