Hey guys, how would you mark up the content that’s shown in the image?
At the moment it’s marked up as a table.
I ask myself this. What does the data represent? It’s a list of events showing the date and a link to the event. So therefore a list would be best?
For example I would probably mark it up as the following:
How would you mark-up the column headers though? This is why I’m thinking of leaving it marked up as a table?
I’d like to get your input guys!
I don’t think I’d mind leaving that as a table. You could use divs, but I just don’t see the point.
Agreed. That says table all over it.
That isn’t a list
A list would be like a column of information:
When you add another dimension to it (like columns+rows), you get a table. A table, although a little clunky, is perfect for organizing columns and rows of information.
I took a look at the specs
"The HTML table model allows authors to arrange data — text, preformatted text, images, links, forms, form fields, other tables, etc. — into rows and columns of cells."
I don’t know what I was thinking earlier but it makes sense now. :roll:
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed