Search results (0)
<!DOCTYPE html><html><head> <title>Simple HTML Table</title></head><body> <h2>My Simple Table</h2> <table border="1"> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Row 1, Cell 1</td> <td>Row 1, Cell 2</td> </tr> <tr> <td>Row 2, Cell 1</td> <td>Row 2, Cell 2</td> </tr> </table></body></html>
<!DOCTYPE html> <html> <head> <title>Centered HTML Table</title> <style> body { text-align: center; } table { margin: auto; } </style> </head> <body> <h2>Centered Table</h2> <table border="1"> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Row 1, Cell 1</td> <td>Row 1, Cell 2</td> </tr> <tr> <td>Row 2, Cell 1</td> <td>Row 2, Cell 2</td> </tr> </table> </body> </html>
<table> ... </table>
<table> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Row 1, Cell 1</td> <td>Row 1, Cell 2</td> </tr> </table>
<table> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td colspan="2">Spanning two columns</td> </tr> </table>
<table> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td rowspan="2">Spanning two rows</td> <td>Row 2, Cell 2</td> </tr> <tr> <td>Row 3, Cell 2</td> </tr> </table>
<!DOCTYPE html> <html> <head> <title>HTML Table with Border</title> </head> <body> <h2>Table with Border</h2> <table border="1"> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Row 1, Cell 1</td> <td>Row 1, Cell 2</td> </tr> <tr> <td>Row 2, Cell 1</td> <td>Row 2, Cell 2</td> </tr> </table> </body> </html>