[html5] How to mark up FAQ

Gordon Baker gbakerled at outlook.com
Mon Mar 17 12:00:35 PDT 2014



> From: jens at meiert.com
> Date: Mon, 17 Mar 2014 19:47:30 +0200
> Subject: Re: [html5] How to mark up FAQ
> To: gbakerled at outlook.com
> CC: help at lists.whatwg.org
> 
> Two very quick cents:
> 
> > <h1>Question</h1>
> > <p>Answer</p>
> > <h1>Question</h1>
> > <p>Answer</p>
> 
> Since you probably have a <h1> (“FAQ”?) these might turn into <h2>s,
> which should result in quite sensible markup.
True, although I thought <hx>, 2 <= x <= 6 was now discouraged in favor of the explicit <section>s, so:<h1>FAQ</h1><section>  <h1>Question></h1>  <p>Answer</p></section><section>  <h1>Question></h1>  <p>Answer</p></section>...
> 
> > I searched but couldn't find anything related to marking up FAQs in the
> > spec, (including section 4.13).
> 
> I’m not sure this is a use case that’s spec-worthy. 
Actually Ian points out there's mention in the <dl> section.
> Ultimately an FAQ
> is like any other article (in a document sense), just with the
> convention of phrasing each heading as a question. (Haven’t pondered
> much about this but feels right at the time of writing ;)
Yeah, that's a really good way of looking at it -- thanks.
> 
> -- 
> Jens O. Meiert
> http://meiert.com/en/
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140317/ffab5553/attachment-0002.htm>


More information about the Help mailing list