RSS Feed
  0 users browsing Projects. | 1 guest  
Main » Projects » amethyst (text editor)
Pages: First Previous 1 2
Posted on 19-08-02, 01:41 am
Not from my cellphone

Post: #468 of 548
Since: 10-30-18

Last post: 1 min.
Last view: 1 min.
User is online
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
Posted on 19-08-02, 02:05 pm
Stop typing, start thinking.
Post: #555 of 630
Since: 01-26-19

Last post: 1 day
Last view: 7 hours
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
The header element represents a group of introductory or navigational aids.

A header element is intended to usually contain the section's heading (an h1–h6 element or an hgroup element), but this is not required. The header element can also be used to wrap a section's table of contents, a search form, or any relevant logos.


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.
Posted on 19-08-02, 02:16 pm
Trash

Post: #317 of 400
Since: 10-29-18

Last post: 12 hours
Last view: 2 hours
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.
Posted on 19-08-02, 05:35 pm
Stop typing, start thinking.
Post: #556 of 630
Since: 01-26-19

Last post: 1 day
Last view: 7 hours
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.
Posted on 19-08-02, 07:03 pm
Now with more self-mockery

Post: #321 of 400
Since: 10-29-18

Last post: 12 hours
Last view: 2 hours
And yet it renders perfectly fine.
Posted on 19-08-02, 10:52 pm
Stop typing, start thinking.
Post: #557 of 630
Since: 01-26-19

Last post: 1 day
Last view: 7 hours
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.
Posted on 19-08-02, 11:19 pm
Tired

Post: #324 of 400
Since: 10-29-18

Last post: 12 hours
Last view: 2 hours
Of course it's not "whatever Chrome does". The First Webpage is perfectly valid HTML as Sir Tim Berners-Lee first drafted it!
Posted on 19-08-03, 12:30 am
Stop typing, start thinking.
Post: #559 of 630
Since: 01-26-19

Last post: 1 day
Last view: 7 hours
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.
Posted on 19-08-03, 12:36 am (revision 2)
Post: #69 of 90
Since: 11-01-18

Last post: 21 hours
Last view: 2 hours
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.
Posted on 19-08-04, 09:32 pm (revision 1)

Post: #46 of 49
Since: 10-29-18

Last post: 9 days
Last view: 9 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.
Posted on 19-08-04, 09:42 pm
Not a pony

Post: #325 of 400
Since: 10-29-18

Last post: 12 hours
Last view: 2 hours
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?
Posted on 19-08-04, 10:17 pm

Post: #47 of 49
Since: 10-29-18

Last post: 9 days
Last view: 9 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. :)
Posted on 19-08-04, 10:39 pm
Felin in Chief

Post: #326 of 400
Since: 10-29-18

Last post: 12 hours
Last view: 2 hours
If I ever write another forum software I'll keep that in mind.
Posted on 19-08-05, 04:47 am
Custom title here

Post: #608 of 695
Since: 10-30-18

Last post: 15 hours
Last view: 21 min.
User is online
Posted by Kawa
If I ever write another forum software I'll keep that in mind.

Just use <table> for everything. CSS is inconvenient and overly-complex.

Just in case you thought something could EVER be straightforward, and needed someone to dash your hopes across the rocky shoals of harsh reality.
Posted on 19-08-07, 08:44 pm
Stop typing, start thinking.
Post: #560 of 630
Since: 01-26-19

Last post: 1 day
Last view: 7 hours
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.
Posted on 19-08-07, 09:12 pm
Draco in Leather Pants

Post: #327 of 400
Since: 10-29-18

Last post: 12 hours
Last view: 2 hours
Geez, I dunno.
Posted on 19-09-01, 05:24 am
Custom title here

Post: #666 of 695
Since: 10-30-18

Last post: 15 hours
Last view: 21 min.
User is online
Posted by Kawa
Geez, I dunno.
Looks good to me.

Just in case you thought something could EVER be straightforward, and needed someone to dash your hopes across the rocky shoals of harsh reality.
Pages: First Previous 1 2
Main » Projects » amethyst (text editor)
Yes, it's an ad.