W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2011

[whatwg] Giving the <body> tag a new meaning.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 1 Mar 2011 11:25:11 -0800
Message-ID: <AANLkTi=eAw0PpjBtfahGxwW3jG4wciTVxEtWgdNh+B_D@mail.gmail.com>
On Tue, Mar 1, 2011 at 10:54 AM, usuario <soyhobo at gmail.com> wrote:
> According to the spec:
> The body element represents the body of a document (as opposed to the
> document?s metadata).
>
> I think definition is a bit ambiguous.
>
> We may think in giving it a more explicit meaning, and freeing it for
> semantic availability (just an example):
>
> <!DOCTYPE html>
> <html>
> ? ?<head> <!--<metadata>, <system>, <config> -->
> ? ? ? ?<meta></meta>
> ? ? ? ?<script></script>
> ? ? ? ?<link></link>
> ? ?</head>
> ? ?<markup> <!-- <window>, <render>, <main>, <app>, <structure> -->
> ? ? ? ?<header>
> ? ? ? ? ? ?<h1></h1>
> ? ? ? ? ? ?<p></p>
> ? ? ? ?</header>
> ? ? ? ?<body>
> ? ? ? ? ? ?<p></p>
> ? ? ? ? ? ?<p></p>
> ? ? ? ?</body>
> ? ? ? ?<footer>
> ? ? ? ? ? ?<p></p>
> ? ? ? ?</footer>
> ? ?</markup>
> </html>

I don't understand what problem you're trying to solve, nor what your
proposal is.

Are you proposing to rename <body>?  If so, there are significant
legacy constraints preventing that (namely, a lot of code depends on a
missing <body> tag being inferred).

~TJ
Received on Tuesday, 1 March 2011 11:25:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:31 UTC