Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>My web page</title>
- </head>
- <body>
- <table border="1" width="300px" height="200px">
- <tr>
- <td rowspan="2">1, 4</td>
- <td colspan="2">2, 3</td>
- </tr>
- <tr>
- <td>5</td>
- <td>6</td>
- </tr>
- <tr>
- <td colspan="3">7, 8</td>
- </tr>
- </table>
- <br></br>
- <table align="center" border="1" width="300px" height="200px">
- <tr>
- <td colspan="5" align="center">1</td>
- </tr>
- <tr>
- <td colspan="3">2</td>
- <td colspan="2" rowspan="2">3</td>
- </tr>
- <tr>
- <td rowspan="3">4</td>
- <td colspan="2" rowspan="2">5</td>
- </tr>
- <tr>
- <td rowspan="2">6</td>
- <td rowspan="2">7</td>
- </tr>
- <tr>
- <td>8</td>
- <td>9</td>
- </tr>
- </table>
- <br>
- <img src="https://i.ibb.co/Pc4snRW/tableexample.png">
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement