[html5] How to mark up FAQ

Lewis Dexter Litanzios / ldexterldesign mail at ldexterldesign.co.uk
Tue May 27 10:54:14 PDT 2014


Hey,

Could someone link me to this part of the spec', as I've been scratching 
my head about this issue for quite some time!

Yours hopefully,

On 17/03/2014 21:06, Brian Tremblay wrote:
> On 3/17/14, 12:00 PM, Gordon Baker wrote:
>>
>> I thought <hx>, 2 <= x <= 6 was now discouraged in favor of the
>> explicit <section>s
>
> No, <h2> <h3> etc are not discouraged. The spec does say to avoid 
> /mixing/ the two approaches. That is, either use <h1>, <h2>, <h3>, 
> etc., in nested sections or not; or use nested sections with <h1> 
> only. This helps keep your outline clear.
>
>> <h1>FAQ</h1>
>> <section>
>>   <h1>Question></h1>
>>   <p>Answer</p>
>> </section>
>> <section>
>>   <h1>Question></h1>
>>   <p>Answer</p>
>> </section>
>> ...
>
> That's perfectly reasonable, and the approach I use, in part because 
> it makes cutting and pasting sections easier. But you could use 
> implicit sections with <h2> if you prefer.
>

-- 
ldexterldesign
ldexterldesign logo <http://www.ldexterldesign.co.uk/>
Lewis Dexter Litanzios
Web Designer & Developer
mail at ldexterldesign.co.uk <mailto:mail at ldexterldesign.co.uk>
+44 7504 907 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140527/945bf421/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-ldexterldesign-black-150x.png
Type: image/png
Size: 3580 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140527/945bf421/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail.vcf
Type: text/x-vcard
Size: 290 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20140527/945bf421/attachment-0001.vcf>


More information about the Help mailing list