5 Tweets 6 reads Sep 23, 2023
HTML and CSS (Part-13)
HTML Tables:
➲ HTML table
➢ An HTML table is used to display data in a tabular format, similar to a spreadsheet.
➢ Tables are created using the <table> element, and the table is divided into rows and columns using
- <tr> (table row)
- <td> (table data)
- <th> (table header)
Example:
➲ Advanced Features
➢ Colspan and Rowspan
- colspan: Allows a cell to span multiple columns
- rowspan: Allows a cell to span multiple rows
➲ Table Caption and Groups
- <caption>: Provides a title for the table
- <thead>, <tbody>, <tfoot>: Groups header, body, and footer content in a table.
That's a wrap!
If you enjoyed this post:
1. Follow me @mdrizwanalam72 for more of these.
2. RT the tweet below to share this thread with your audience.

Loading suggestions...