[thelist] Re: Hn tags

rudy r937 at interlog.com
Sat Jun 22 21:51:00 CDT 2002


>how 'bout this?
 > <h1>the three stooges</h1>
> <h2>introduction</h2>
> <h3>the funniest comedians in history</h3>
> <h2>curly</h2>
> <h2>larry</h2>
> <h2>moe</h2>
>
>Again, I'm not arguing; just trying to understand your perspective.

my perspective is
 - yank <h2>introduction</h2>
 - go to validator.w3.org and run it through strict (yes, it does)
 - fuggedaboutit

the worst part is, the paragraphs that "follow" the headings don't actually
"belong" to them -- that's only an illusion provided by our linear brains

the headings and paragraphs are all just content blocks

and all your blocks are belong to <body> -- equally

(to see what i mean, grab the parse tree from the validator)

so in the above, the h3 is actually structurally the same as the h2's

this harkens back to my earlier remark about how headings don't nest

if there were some way to "nest" the paragraphs "into" the headings that
they "belong" to, then we'd be getting somewhere

i suppose one could do all kinds of shit with nested divs, but why?  the
browsers don't gain anything from that anyhow

the whole structure thing with headings is badly, badly b0rken, and it does
not bother me one whit that some people think the hx's have to be numbered
down and up neatly

i say, let 'em carry on thinking that

meanwhile, if i put an h3 right after an h1, i know exactly what i'm
getting

and i don't have to define any pointless classes or style the h's
differently, neither


rudy
http://rudy.ca/
"a broom is drearily sweeping
up the broken pieces of yesterday's life
somewhere, a queen is weeping
somewhere, a king has no wife
and the wind, it cries 'mary' "





More information about the thelist mailing list