[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


HTML was a very simple idea

But it became such a shitheap that nowadays browsers from 20 years ago cant even access it
>>
>>107238532
The modern attempt at rounding it out so you don't have to use javascript for everything, htmx, is literally just javascript pretending to be html.
>>
>>107238532
We should move away form markup to markdown. Far better.
>>
>>107238532
Don't like it? Update.
>>
>obsolete user agents don't work anymore on this living standard
No shit, Sherlock.
>>
>>107238755
Usa case for updated standard?
>>
>>107238532
It's one of the worst languages ever invented. On modern style websites you have 40 layers of nesting and 10000 lines of slop per page. Zero separation.

You should have been able to de-nest by putting entire blocks of HTML in different places. So you could have func sidebar() {} somewhere, then the HTML code in there... And just call it in the main HTML like <insert element id="sidebar" />

I really wouldn't work on any type of code with nesting as out of control and messy as this. And IDEs just can't handle formatting and displaying it. It's really so bad.
>>
>HTML
The problem is that the people who made HTML were thinking about it as a document language. HTML evolved because people wanted more out of their webpages then what the standard people were willing to give. If I am building a website I don't want to have to waste server bandwidth everything time a client clicks a button. I would rather package the information and have it process and update client side. The original web just didn't want to facilitate this. So people were forced to make it work with java script. HTMX should have been part of the web standard since day one. A ton of the functionality that JavaScript provided should have been in HTML day one. The standard committee minimalism just lead to functionality constantly reinvented at every shop.
>>
>>107238532
I'm really sorry that it's too complicated for you.
>>
>>107238870
You tell me. How do you make a user agent that extracts "the article on the page" without an <article> tag?
>>
>>107238532
It was very simple and perfectly fine, but it had to become a gigantic pile of shit, just like everything else in technology.
>>
>>107238627
Watch the same shit happen to markdown.
>I need WASM in my markdown because I just do OK!?
>>
>>107239120
>On modern style websites you have 40 layers of nesting
Maybe it's "modern style websites" that are the problem?
>>
>>107238532
People are just being retarded. Look at this section:
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#accessibility
Now shit's infested with <div id="app">, .fade-in{opacity:0}, :root{font-weight:300} and all sorts of other user hostile shit, because nobody uses the sites they make themselves.
>>
>>107240005
No it's not it's the language. It's like imagine every programming language you know, and remove functions totally. It's just EVERYTHING goes in main().
>>
>>107238532
It's quite impressive how big of a failure this is considering it's used every day for decades.
>>
>>107238588
https://en.wikipedia.org/wiki/Polyfill_(programming)
>>
>>107238532
HTML should be compile to a more strict binary format, same for CSS.
>>
>>107238532
It was awful from the start. First time I saw it I thought "this is shit" and I think I had a 14.4k modem on a 486 at the time.
>>107239120
yeah
>>107240005
They're like that as a consequence of how terrible HTML and CSS are at displaying consistently across platforms and browsers.
>>107240194
It's the whole point of HTML having semantic tags in the first place.
>>
>>107240287
>muh page doesn't look the same on a different computer
>bloat everything the fuck up as a "consequence"
Embarrassing boomer take.
>>
>>107238532
My blog is still perfectly readable on IE6
>>
I'm surprised that front end developers haven't tried to replace HTML with JSON altogether given that it's a subset of XML
>>
>>107240396
I swear to got sometimes when listening to a designer I just want to flip the table and tell them to go ship a fucking image.
>>
>>107240396
The problem is the way HTML/CSS work not that Facebook wants their site to look consistent across different devices.
>>
>>107240587
Definitely. HTML and CSS are the worst languages ever made. Really though, HTML, because CSS is basically just definitions etc. It's HTML that is completely terrible.
>>
>>107240611
What does it mean worst languages? They do what they need to do. It's the
font-size:1vw;/* :) */
retards who are the problem.
>>
>>107238532
Problem is not html but all the crap sitting on top of it.
>>
>>107240629
What language is worse? Literally which one?

You have pages with 50 nested depth elements and that's NORMAL. You're scrolling up from an end </div> tag past 1000 other open <div> tags trying to find the start. It is just BAD. It is the literal definition of a wall of text.

You should be able to easily write navbar.html, and place it in other documents using some syntax. Write "main_article_container.html" and import that into other pages, with a way to define the area where the developer's content to go inside of it should go.

Making a website with HTML is very easy with WordPress etc because everything is separated and organized. Plain HTML is just the worst thing literally ever.
>>
>>107240531
They did, it's called jsx.
>>
>>107240668
>What language is worse?
TEX
>>
>>107238532
You don't need more than div and span
>>
HTML is fucking awesome. had fun using the new <dialog> element recently.
>>
>>107240668
>You should be able to easily write navbar.html, and place it in other documents using some syntax. Write "main_article_container.html" and import that into other pages, with a way to define the area where the developer's content to go inside of it should go.
Jinja can do that with expands and blocks. It's comfy just making a header-nav-footer template and then using it on every main-aside page
>>
>>107238532
This is what Gemini or Gopher are for.
Retvrn to simplicity.
>>
Is it a blessing or a curse that everything that is big is always made to be backwards compatible and never fully freeing itself from the mistakes made from the past?
>>
>>107241096
The mistakes are made in the present.
>>
>>107239335
We have a thing called machine learning algorithms and computer vision for that
and before that invisible "jump to content", "jumps to navigation" links for the vision impaired
>>107240890
I bet it is a half assed pile of shit like every innovation in CSS/HTML/javascript, like the <details> tag, or the selector syntax
>>
Ignore my brainlet post
>>
>>107240890
Fug that's pretty good for CRUDs
>>107241191
What's wrong with <details><summary> besides being a pain in the ass to style the marker? It beats the janky checkbox hack or worse, using JS
>>
>>107238532
>But it became such a shitheap that nowadays browsers from 20 years ago cant even access it

You basically described every piece of "evolving" software that exists.
>>
>>107240668
>pages with 50 nested depth elements and that's NORMAL
No it's not. Lighthouse flags that.
>Write "main_article_container.html" and import that into other pages
And you're gonna wait for that to load? It's a self contained document, what's with this import fetish? And if you really want that, there's <iframe>
>WordPress
You can sew textfiles together without resorting to that abomination.
>>
>>107241191
>I bet it is a half assed pile of shit like every innovation in CSS/HTML/javascript, like the <details> tag, or the selector syntax
It is. I tried using it once for an obvious dialog and I don't remember the exact reason but I had to give up and use a div because of some bullshit it was trying to do or something it was preventing me from doing.
As is the case with nearly all the semantic tags.
>>
>>107238532
I still don't understand why "anchor" is supposed to lead me elsewhere.
>>
>>107241669
I'm sure HTML was designed by some ESL moron. None of the terms make much sense.
>>
>>107241705
In ptbr, "bold" is translated as "negrito".
>>
>>107241757
We even have a big bold "N" button on every text editor that i18n the ui.
>>
blame google
>>
>>107240611
>html
>language
it's just a tree retard
>>
>>107238588
Ideally something similar would be adopted natively in browsers, then it wouldn't have to be JavaScript
>>
>>107239293
The original web was built under the constraint of time sharing a terminal to a mainframe.
It would have made zero sense considering the computational limitations of the time to have to perform client-side DOM manipulations on glorified KVMs

>>107238870
so you can stop complaining about electron bloat
>>107238588
the engineering consensus has agreed that this is exactly what people want and need. Just in the browser so that we can make websites and applications load and run faster
>>
css is way worse, every day onions devs add some new faggy shit to the bloated spec
>>
>>107239293
Flash solved this. Publish once werks everywhere.
Can't animate? Do it with code and actionscript.
Can't code? Do it with the timeline.
Fuck all you code faggots. You will never have vector animation and pure creativity ever again.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.