开发者

How should this be listed [closed]

Closed. This question is opinion-based. It is not currently accepting answers. 开发者_JS百科

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 9 years ago.

Improve this question

What is the best way to handle this?

Say I have a listing of events but for each event I have two pieces of information like the name of the event and the date of the event.

Example:

George's Fundraiser

October 20, 2011

Eileen's Company Event

October 21, 2011

I thought about doing each of those as listed items inside a unordered list but didn't know if I should force a line break after the first line or if there is a better suggested way of handling this. Only thing to keep in mind is the event name will have a css style applied to it.


Maybe you could do it with a definition list dl and add dt und dd elements.

If you want to stick to an unordered list you could use span elements for styling - or even better: the title has a special - strong - meaning in this context. You might want to add some more semantics by wrapping the title with strong (this helps you with styling though…).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜