Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <style> table { border-collapse: collapse; width: 100%; text-align: left; } table, td, th { border: 1px solid lightgray; padding: 10px; } .left-column { background: #eee; } </style> <table> <colgroup class="left-column"></colgroup> <colgroup span="3"></colgroup> <tr> <th>Header</th> <th>Header</th> <th>Header</th> <th>Header</th> </tr> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> </table> <hr> <p>More info: <a href="/html/html_table_tutorial.cfm">Table Tutorial</a>, <a href="/html/html_table_generator.cfm">Table Generator</a>.</p>