Use HTML Tables to Display Data

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 24

  • @craigabourne
    @craigabourne  3 года назад +12

    Learn HTML: ruclips.net/p/PL4cTxE4s2XIYJL6uPQUwMt25M70gPl-O6

  • @caoimheshields4159
    @caoimheshields4159 3 года назад +1

    You always see these big channels recommended on Twitter as being the best.
    You, sir, are legitimately the best.

  • @davidbreitner
    @davidbreitner 3 года назад +4

    Fantastic and very descriptive again. You are really good a breaking it all down

    • @craigabourne
      @craigabourne  3 года назад +1

      Wow, thank you! Very kind words 👍

  • @marinstrup
    @marinstrup 3 года назад +2

    Thanks. So helpful. Hard to find videos on tables but i need to use one

    • @craigabourne
      @craigabourne  3 года назад +1

      Very true! Hope it gave you what you need

  • @kirillbrehzkov
    @kirillbrehzkov 3 года назад +2

    Thank again. Another helpful video. Useful to display prices on my site

  • @caoimheshields4159
    @caoimheshields4159 3 года назад +1

    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!!

    • @craigabourne
      @craigabourne  3 года назад +1

      Thanks, that's very kind. Happy to help!

  • @somnarchaudhary
    @somnarchaudhary 3 года назад +2

    Informative. Not a lot of good stuff on tables out there. Are they still important?

    • @craigabourne
      @craigabourne  3 года назад +1

      They have their place. If you need to display data, a tabular format is perfect for webpages.

  • @pranavguly
    @pranavguly 3 года назад +2

    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

    • @craigabourne
      @craigabourne  3 года назад +1

      Awesome! That's great to hear. Much more cool content on the way 👍

  • @patttkaaa92
    @patttkaaa92 2 года назад +1

    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.

    • @craigabourne
      @craigabourne  2 года назад

      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.

  • @ericrosales8847
    @ericrosales8847 3 года назад +1

    Thank you for these videos

  • @maddiecurry
    @maddiecurry 3 года назад +1

    Thank you!

  • @webb-developer
    @webb-developer Год назад

  • @sophiawokoma3711
    @sophiawokoma3711 2 года назад +1

    Thank you !