This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12156 - Element container not allowed as child of element body in this context
Summary: Element container not allowed as child of element body in this context
Status: RESOLVED INVALID
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 22:44 UTC by Matthew John Earley
Modified: 2015-08-23 07:07 UTC (History)
0 users

See Also:


Attachments

Description Matthew John Earley 2011-02-22 22:44:50 UTC
Line 24, Column 11: Element container not allowed as child of element body in this context. (Suppressing further errors from this subtree.)<container>
Content model for element body:Flow content.


Site is trying to use HTML 5 correctly for example 

<body>
<container><<<< validator stops here
  <header>o0MattE0o<br /></header>
  <content>
    <navigation>


and not the HTML 4 way
<body>
<div id="container">
  <div id="header>o0MattE0o<br /></div>
  <div id="content">
    <div id="navigation">
Comment 1 Michael[tm] Smith 2011-04-05 07:20:47 UTC
There is no element in HTML5 named "container" (nor "content" nor "navigation")