Coding task · HTML and CSS course · Module 2: The Web and HTML Elements
Creating a Data Table
HTML tables consist of <table>, <thead>, <tbody>, <tfoot>, <tr> (rows), <th> (headers), and <td> (data cells). The colspan attribute allows a cell to span across multiple columns.
Task
Create a table with data about Egyptian pyramids. The table should contain: <thead> with headers (Pyramid, Pharaoh, Height), <tbody> with at least 3 rows of data, and <tfoot> with a summary.