This video was so helpful for my assignment. I think you are the best teacher and I don't know what we would do without you. I recommend your videos to everyone in my class!!
Do we always have to use thead section when building a table? Can't we just base on tbody section? What are the best practices? And of course - thanks for another great content.
The answer as with many things in web dev is yes/no/maybe. Remember that there are no hard rules. You never HAVE to use it at all. I'd say whether you do or not depends on how big the table is, how much data it holds and what the prpose of the table is. The table head element (and tbody & tfoot), more than anything, provides description. It is useful as it provides clarity for other developers, or for machines that are reading the page - the browser is one example. A better example is people that have vision impairments and are using screen readers. It lets them know which part of the table they are in. Google takes these kind of things into account for SEO. They're looking for you to make your code as descriptive and accessible as possible. But if the table is really small, say just a few rows, then it is not necessary to label the head, body and foot of the table. That would be overkill. But if I had a large table of scientific data, or airport arrivals and departures, or a long task list, then I absolutely would use those elements. The task list for example, you could create a trello type application where you use JavaScript to make sure only cells or rows within the tbody are draggable.
Learn HTML: ruclips.net/p/PL4cTxE4s2XIYJL6uPQUwMt25M70gPl-O6
You always see these big channels recommended on Twitter as being the best.
You, sir, are legitimately the best.
Wow, thanks!
Fantastic and very descriptive again. You are really good a breaking it all down
Wow, thank you! Very kind words 👍
Thanks. So helpful. Hard to find videos on tables but i need to use one
Very true! Hope it gave you what you need
Thank again. Another helpful video. Useful to display prices on my site
Awesome! Glad it was helpful!
This video was so helpful for my assignment. I think you are the best teacher and I don't know what we would do without you. I recommend your videos to everyone in my class!!
Thanks, that's very kind. Happy to help!
Informative. Not a lot of good stuff on tables out there. Are they still important?
They have their place. If you need to display data, a tabular format is perfect for webpages.
Thanks sir. Another helpful video. You're my go to resource for HTML at the moment. You teaching style has definitely helped me the most
Awesome! That's great to hear. Much more cool content on the way 👍
Do we always have to use thead section when building a table? Can't we just base on tbody section? What are the best practices?
And of course - thanks for another great content.
The answer as with many things in web dev is yes/no/maybe. Remember that there are no hard rules. You never HAVE to use it at all. I'd say whether you do or not depends on how big the table is, how much data it holds and what the prpose of the table is.
The table head element (and tbody & tfoot), more than anything, provides description. It is useful as it provides clarity for other developers, or for machines that are reading the page - the browser is one example.
A better example is people that have vision impairments and are using screen readers. It lets them know which part of the table they are in.
Google takes these kind of things into account for SEO. They're looking for you to make your code as descriptive and accessible as possible. But if the table is really small, say just a few rows, then it is not necessary to label the head, body and foot of the table. That would be overkill.
But if I had a large table of scientific data, or airport arrivals and departures, or a long task list, then I absolutely would use those elements. The task list for example, you could create a trello type application where you use JavaScript to make sure only cells or rows within the tbody are draggable.
Thank you for these videos
My pleasure!
Thank you!
You're welcome!
✅
Thank you !
You're welcome!