[whatwg] wrapper element
Tab Atkins Jr.
jackalmage at gmail.com
Mon Feb 28 08:55:27 PST 2011
On Sun, Feb 27, 2011 at 12:46 PM, Jukka K. Korpela <jkorpela at cs.tut.fi> wrote:
> Bjartur Thorlacius wrote:
> [quotation reorganized by me]
>> What semantics would such an wrapper element provide over <div>? I'd
>> rather discourage, and provide alternative features to wrapping.
>> Providing another element for that purpose goes against that.
>
> Thinking purely logically (if we dare), <wrapper> would have the benefit of
> explicitly saying "this is a wrapper for grouping, for no semantic reason",
> thereby distinguishing it from <div> which may, and often does, involve
> semantic or logical grouping.
<div> carries no semantic meaning. If you are using it for such, the
semantic is purely internal to your application, and thus doesn't
carry the common meaning of "semantics" as used on the web.
<div> is the wrapper element. That's its entire purpose for living. ^_^
~TJ
More information about the whatwg
mailing list