I have not been able to find a reference describing the relationship between the HTML5 tags header and section (or footer and section). Most examples put p elements inside headers and footers.
Is it both legal and advisable to put a section element into a header?
References:
- The main element - you may not put a
mainelement into anarticle - "Nesting <article> in <section> or Vice Versa?" in HTML5 semantic elements - putting an
articleinto asectionis valid, and the other way round (although different semantics)