Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!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; } </style> <table> <tr> <th>Table Header</th> <th>Table Header</th> <th>Table Header</th> </tr> <tr> <td>Table cell</td> <td>Table cell</td> <td>Table cell</td> </tr> <tr> <td>Table cell</td> <td>Table cell</td> <td>Table 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>
Preview