[html5] Appropriate markup for an FAQ

Ian Hickson ian at hixie.ch
Fri Mar 12 15:51:13 PST 2010


On Tue, 2 Mar 2010, Eitan Adler wrote:
>
> I currently use <dt> and <dd> to markup questions and answers for
> FAQs. Is there a better or preferred way of doing this?

That's one preferred way. I've added an example showing a FAQ done this 
way. Another way is using a <section> for each question (either explicitly 
with <section> or implicitly using <h2> or some such).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the Help mailing list