TGViewer
Web Development Web Development @webdevcoursefree · 79.7K subscribers
Post #4089 602
The Finance cell spans two rows.

10. Tables vs Layout

Tables should be used for tabular data.

Good use:

Employee | Department | Salary

Not recommended:

Using tables to position

a website's navigation,

images and buttons.

Modern layouts should use CSS Flexbox and Grid instead.

🧠 Remember

<table> → Entire table

<tr> → Table row

<th> → Header cell

<td> → Data cell

<thead> → Header section

<tbody> → Main data section

<tfoot> → Footer/summary section

Key Takeaway

A semantic table usually follows this structure:

<table>
↓
<thead> → column headings
↓
<tbody> → actual data
↓
<tfoot> → totals/summary


HTML tables are primarily about representing relationships between rows and columns. CSS will later control how the table looks.

Double Tap ❤️ For More
  • ❤ 4
  • 🔥 1
More from @webdevcoursefree
  1. Oct 17, 2026🌐 Web Development Roadmap — Part 19 HTML Tables Tables are used to display information in…
  2. Oct 17, 2026𝗜𝗕𝗠 𝗙𝗥𝗘𝗘 𝗧𝗘𝗖𝗛 𝗖𝗢𝗨𝗥𝗦𝗘𝗦 𝟮𝟬𝟮𝟲! 🎓 Explore IBM Cognitive Class and build…
  3. Oct 16, 2026𝗗𝗮𝘁𝗮 𝘀𝗰𝗶𝗲𝗻𝗰𝗲 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗪𝗶𝘁𝗵 𝗔𝗜😍 Future Ready Data Scien…
  4. Oct 16, 2026🌐 Web Development Roadmap — Part 18 HTML Lists Lists are used whenever information needs…
  5. Oct 14, 2026🌐 Web Development Roadmap — Part 17 HTML Images — <img> Tag Images make webpages more vis…
  6. Oct 13, 2026𝗧𝗢𝗣 𝗙𝗥𝗘𝗘 𝗖𝗢𝗨𝗥𝗦𝗘𝗦 𝗧𝗢 𝗕𝗢𝗢𝗦𝗧 𝗬𝗢𝗨𝗥 𝗦𝗞𝗜𝗟𝗟𝗦 𝗜𝗡 𝟮𝟬𝟮𝟲! Explor…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →