header/footer in header/footer

Hi guys,

 

After validating my html I noticed that it was not allowed to nest
headers/footers in headers/footers. 

I was wondering why this restriction was set. Even though it might not be a
very common depending on your style of html, it created quite a lot of
errors for me.

 

A simple use case: list of news items in a fat footer:

 

<footer>

                <section class="list news">

                               <div class="main">

                                               <article class="newsItem">

                                                               <header>

 
<h1>news heading</h1>

 
<div class="meta">[fe date]</div>

 
<div class="image">...</div>

                                                               </header>

                                                               <div
class="main">

 
<div class="abstract">....</div>

                                                               </div>

                                               </article>

                                               ....

                               </div>

                               <footer><div class="more"><a href="#">read
all</a></div></footer>

                </section>

</footer>

 

Might be overkill for some people, but I like the consistency of the code +
its future-proofness. Anyway, I don't see much use constricting the use of
header/footer this harshly. Any input?

 

Greets,

 


Niels Matthijs - Front-End Developer
 <mailto:niels.matthijs@internetarchitects.be>
niels.matthijs@internetarchitects.be 


Internet Architects


Internet Architects
Your strategic online partner 

Koningin Astridplein 41 - 2018 Antwerpen
+32 3 234 34 74 -  <http://www.internetarchitects.be> website -
<http://www.facebook.com/pages/Internet-Architects/81743786433> facebook 

 

 

Received on Monday, 17 June 2013 15:54:27 UTC