开发者

How should this be listed [closed]

开发者 https://www.devze.com 2023-04-13 04:02 出处:网络
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
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

精彩评论

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

关注公众号