table vs. divs - confusion

Out of context: Reply #8

  • Started
  • Last post
  • 17 Responses
  • ukit0

    It depends on the content. Tables are meant for - well, when you have something in a tabular format like a grid list of items. Nothing inherently wrong with them, although people used to use them for page layouts (and truly mass audience sites like Google still do).

    Actually, it's better to use more specialized tags when possible and not divs because they are more descriptive. For instance, I use a <ul><li> combo for any kind of navigation or set of items that isn't tabular. HTML 5 will also introduce header tag, footer tag etc .

View thread