开发者

Table or lists for forum threads

I'm wondering which would be more semantic when writing the markup for a list of recently active forum开发者_如何学编程 threads: A table, some kind of definition list, or a mixture of both?

To give you an example of what I mean:

Table or lists for forum threads

I'm thinking that the best way would be to let each thread be an unordered list item containing a defintion list that contains the thread title, number of posts, etc. But I wanted to get other people's input as well, because I'm honestly not sure.


This is clearly tabular data, and belongs in a <table> element - for semantical as well as practical reasons.

The direct page links in the second column might be a good fit for a ol element .

There is a very interesting discussion on the general question of when table elements are applicable here: Proper definition for "tabular data" in HTML

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜