The 404 error page has a differnd markup then the product pages.
Looks like the outliner does not work allways.
Here is what i have with my first example and as it is now:
HTML Code:
1. Untitled Section
1. ODENWÄLDER SPORT-SYSTEME
2. Beschreibung:
1. Ausstattung:
1. Technische Daten:
3. Untitled Section
4. Untitled Section
Here are some blown up markup examples. Jsut take them and put them into outliner:
Code:
<body>
<div class="page"><!-- begin: .page -->
<div class="right-column"><!-- begin: .right-column -->
<header class="page-header">
<hgroup>
<h1>Odenwälder Sport-Systeme (h1)</h1>
<h2>Power Rack OM101</h2>
</hgroup>
</header>
<article>
<header>
<h1>Power Rack OM101 (h1)</h1>
<p>price: $ 999.00 / item number: OM101</p>
</header>
<section>
<h1>product characteristics (h1)</h1>
<p>Lorem ipsum</p>
</section>
<section>
<h1>product details (h1)</h1>
<p>Lorem ipsum</p>
</section>
<section>
<h1>specifications (h1)</h1>
<p>Lorem ipsum</p>
</section>
</article>
</div><!-- end: .right-column -->
<div class="left-column"><!-- begin: .left-column -->
<nav>
<h2>Main page navigation (h2)</h2>
<ul>
<li></li>
<li></li>
</ul>
</nav>
</div><!-- end: .left-column -->
<footer id="contact-footer">
<p>contact</p>
</footer>
<aside id="external-links">
<h3>external-links (h3)</h3>
</aside>
<footer id="page-footer">
<p>copyright</p>
</footer>
</div><!-- end: .page -->
</body>
Code:
<body>
<div class="page"><!-- begin: .page -->
<div class="right-column"><!-- begin: .right-column -->
<header class="page-header">
<hgroup>
<h1>Odenwälder Sport-Systeme (h1)</h1>
<h2>Power Rack OM101</h2>
</hgroup>
</header>
<article>
<header>
<h1>Power Rack OM101 (h1)</h1>
<p>price: $ 999.00 / item number: OM101</p>
</header>
<section>
<h2>product characteristics (h2)</h2>
<p>Lorem ipsum</p>
</section>
<section>
<h2>product details (h2)</h2>
<p>Lorem ipsum</p>
</section>
<section>
<h2>specifications (h2)</h2>
<p>Lorem ipsum</p>
</section>
</article>
</div><!-- end: .right-column -->
<div class="left-column"><!-- begin: .left-column -->
<nav>
<h2>Main page navigation (h2)</h2>
<ul>
<li></li>
<li></li>
</ul>
</nav>
</div><!-- end: .left-column -->
<footer id="contact-footer">
<p>contact</p>
</footer>
<aside id="external-links">
<h3>external-links (h3)</h3>
</aside>
<footer id="page-footer">
<p>copyright</p>
</footer>
</div><!-- end: .page -->
</body>
Also in the html5 DVD from lynda he did not put a section arround all the h2's and says that everything unter this headings is a extra section. He does:
Code:
<article>
<header>
<h1>Power Rack OM101 (h1)</h1>
<p>price: $ 999.00 / item number: OM101</p>
</header>
<h2>product characteristics (h2)</h2>
<p>Lorem ipsum</p>
<h2>product details (h2)</h2>
<p>Lorem ipsum</p>
<h2>specifications (h2)</h2>
<p>Lorem ipsum</p>
</article>
instead of:
Code:
<article>
<header>
<h1>Power Rack OM101 (h1)</h1>
<p>price: $ 999.00 / item number: OM101</p>
</header>
<section>
<h2>product characteristics (h2)</h2>
<p>Lorem ipsum</p>
</section>
<section>
<h2>product details (h2)</h2>
<p>Lorem ipsum</p>
</section>
<section>
<h2>specifications (h2)</h2>
<p>Lorem ipsum</p>
</section>
</article>
sure in outliner it looks the same.
It shouldn't show the <h2> in the <hgroup>, because the point of an <hgroup> is that it's a single heading item, which may be split over several block elements for ease of setup. (Of course, that's not a good semantic approach, as it means you're using an <h2> when it isn't a heading. A <p> would be better.)
But its what they show in every html5 example: a h1 and a h2 one below the other in a hgroup.
Bookmarks