Results 1 to 4 of 4

Thread: Semantic Markup

  1. #1
    Join Date
    Oct 2003

    Semantic Markup


    I've attached an image of something I'm currently building in one of my pages and was wondering what you think would be the most appropriate markup to use.

    Initially I was thinking of using a table as its tabular data, but then at the same time I thought maybe I should use definition lists as the information displayed is a list of vehicles.

    I assume either could be used correctly, but just wondering what other peoples thoughts on this are?

    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2005
    United Kingdom
    I'd probably do it as a table - even though form a purist point of view you could argue that (styled radio?) button should not be part of one.

  3. #3
    Join Date
    Jan 2007
    Tabular: http://www.answers.com/tabular
    Definition 3: Organized as a table or list.

    Generally, a table is semantically more appropriate for a list of items that have the same fields/attributes. But, a list ok for this kind of data as well. However, a list is more semantically appropriate for records with varied columns or other more free-form data.

    And remember that a table is better designed to scale with your data. A list will not naturally resize all of its members to accomodate the largest cell(s).

    Conclusion: However you feel like thinking about it / whichever is easier for you to code.
    Jon Wire

    thepointless.com | rounded corner generator

    I agree with Apple. Flash is just terrible.

    Use CODE tags!

  4. #4
    Join Date
    Oct 2003
    Cool, thanks for your replies. Based on what you both say I think I'm going to use a table.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles