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

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

From: usuario <soyhobo@gmail.com>
Date: Tue, 1 Mar 2011 20:09:53 +0000
Message-ID: <AANLkTik9J9ruH=Jo+xnDUC1Nn=+HFTjkAAss-NU8HqYu@mail.gmail.com>
The real issue is with change, never is too late.
Many of the new elements in html5 are for semantic purposes. Being now a
<header> and a <footer>, there is only one left thing that's pretty obvious.

I am not proposing the body tag for disappear, but allow it for a new
implementation. And perhaps in say 10 years, discontinue it as document
start element, when the change be widely spread.

The reason? a better semantics advantages.

2011/3/1 Tab Atkins Jr. <jackalmage at 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 12:09:53 UTC

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