tomman |
Posted on 19-08-02, 01:41
|
Dinosaur
![]() Post: #468 of 1340 Since: 10-30-18 Last post: 4 days Last view: 5 hours |
Note that I said "design rules" as in "stuff preached by a design visionary", not "intentionally produce broken HTML even if a browser can render it". Will you stop moving the goalposts, pretty please? Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™ |
Duck Penis |
Posted on 19-08-02, 14:05
|
Stirrer of Shit
Post: #555 of 717 Since: 01-26-19 Last post: 1895 days Last view: 1893 days |
Using <header> to indicate a heading is arguably just as broken HTML. Neither example uses the elements as stipulated by the standards, both render correctly in modern browsers given adequate CSS and choke on standards-compliant but strict browsers. What's the difference?Posted by https://html.spec.whatwg.org/multipage/sections.html#the-header-element There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
Kawaoneechan |
Posted on 19-08-02, 14:16
|
Universally genre savvy
Post: #317 of 602 Since: 10-29-18 Last post: 17 days Last view: 1 hour |
Is it broken if it's by the man who came up with it in the first place? http://info.cern.ch/hypertext/WWW/TheProject.html Note how the header element in this page is today's head. |
Duck Penis |
Posted on 19-08-02, 17:35
|
Stirrer of Shit
Post: #556 of 717 Since: 01-26-19 Last post: 1895 days Last view: 1893 days |
Yes. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
Kawaoneechan |
Posted on 19-08-02, 19:03
|
A man of wealth and taste
Post: #321 of 602 Since: 10-29-18 Last post: 17 days Last view: 1 hour |
And yet it renders perfectly fine. |
Duck Penis |
Posted on 19-08-02, 22:52
|
Stirrer of Shit
Post: #557 of 717 Since: 01-26-19 Last post: 1895 days Last view: 1893 days |
Sure, but so does that abomination I just posted. That doesn't make it not broken, unless your idea of standards is "whatever Chrome does". There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
Kawaoneechan |
Posted on 19-08-02, 23:19
|
Does not care, will put on the maid outfit
Post: #324 of 602 Since: 10-29-18 Last post: 17 days Last view: 1 hour |
Of course it's not "whatever Chrome does". The First Webpage is perfectly valid HTML as Sir Tim Berners-Lee first drafted it! |
Duck Penis |
Posted on 19-08-03, 00:30
|
Stirrer of Shit
Post: #559 of 717 Since: 01-26-19 Last post: 1895 days Last view: 1893 days |
The intermediate step between the law of the jungle and proper civilization, which is known as ...? There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
funkyass |
Posted on 19-08-03, 00:36 (revision 2)
|
Post: #69 of 202
Since: 11-01-18 Last post: 791 days Last view: 147 days |
the header tag was added in HTML5 to give semantic meaning to the Hx tags. so header is supposed to contain hx tags(but optional per the standard), rather than just plain text. the way byuu was using it was technically correct, just not fully implemented. |
neologix |
Posted on 19-08-04, 21:32 (revision 1)
|
![]() Post: #46 of 49 Since: 10-29-18 Last post: 2033 days Last view: 1918 days |
Yea, no. The header element was added to semantically denote a section's/page's header area, regardless of whether Hx elements exist in it or not, AND can contain non-Hx elements. The Hx elements technically already HAD semantic meaning, it's just that people generally didn't care and used them mainly to size text in a silly way. Back when byuu first did the fully custom stack I complained a bit about some of the HTML and CSS in use (nothing major to my recollection), but the guy in that comment certainly came off as one of those "um, actually" overly pedantic nerds who (whom? I honestly don't care at the moment, so don't call it out pretending to point out irony but really just looking to try to invalidate the point) nobody likes because he tries to foist his supposed facts upon people obnoxiously and without prompt. |
Kawaoneechan |
Posted on 19-08-04, 21:42
|
I'm the one with the most talent here.
Post: #325 of 602 Since: 10-29-18 Last post: 17 days Last view: 1 hour |
So basically the entire part above the breadcrumbs and pager on this very page would be <header>, and the credits and such below would be <footer>. Did I get that right? |
neologix |
Posted on 19-08-04, 22:17
|
![]() Post: #47 of 49 Since: 10-29-18 Last post: 2033 days Last view: 1918 days |
Very much right, yea. And if everything that wasn't that was wrapped in a <section> element then theoretically you could put the breadcrumbs and pager in that section's <header> and the bottom pager and breadcrumbs in that section's <footer> and it would be valid. :) |
Kawaoneechan |
Posted on 19-08-04, 22:39
|
Can Breathe in Space
Post: #326 of 602 Since: 10-29-18 Last post: 17 days Last view: 1 hour |
If I ever write another forum software I'll keep that in mind. |
CaptainJistuce |
Posted on 19-08-05, 04:47
|
Custom title here
![]() Post: #608 of 1169 Since: 10-30-18 Last post: 55 days Last view: 3 hours |
Posted by Kawa Just use <table> for everything. CSS is inconvenient and overly-complex. --- In UTF-16, where available. --- |
Duck Penis |
Posted on 19-08-07, 20:44
|
Stirrer of Shit
Post: #560 of 717 Since: 01-26-19 Last post: 1895 days Last view: 1893 days |
Just use <div> for everything. HTML is inconvenient and overly-complex. There was a certain photograph about which you had a hallucination. You believed that you had actually held it in your hands. It was a photograph something like this. |
Kawaoneechan |
Posted on 19-08-07, 21:12
|
You're really messing with my Zen thing, man
Post: #327 of 602 Since: 10-29-18 Last post: 17 days Last view: 1 hour |
Geez, I dunno. |
CaptainJistuce |
Posted on 19-09-01, 05:24
|
Custom title here
![]() Post: #666 of 1169 Since: 10-30-18 Last post: 55 days Last view: 3 hours |
Posted by KawaLooks good to me. --- In UTF-16, where available. --- |