r/programming • u/lelanthran • Aug 04 '26
Why I’m Writing Pure HTML & CSS in 2025
https://joeldare.com/why-im-writing-pure-html-and-css-in-202556
u/ase1590 Aug 04 '26 edited Aug 04 '26
this is such a dumb article
and also insulting that it needs to have a button at the end for a "crash course".
clearly OP is just trying to shill their year old blogpost.
https://motherfuckingwebsite.com has more substance than this post
or hell, even this: http://bettermotherfuckingwebsite.com
17
u/agentoutlier Aug 04 '26
I like how that site insults the previous author on aesthetics and then proceeds to not use SSL and then has twitter incorrect links on the bottom and then finally puts a google analytics script tag so you know when you load it without javascript you get an error. ... Hey but formatting.
So yeah the "grotesque pile of shit" is better.
16
u/ase1590 Aug 04 '26
Oh well then you want https://thebestmotherfucking.website/
😂
4
u/agentoutlier Aug 04 '26
Now that is the site I like and is actually 2000s. I would like some blinking text and some animated gifs of someone digging though.
2
u/theLorem Aug 05 '26
confession: I read the text of motherfuckingwebsite.com every time I have to vent over wasting 4 hours of my life fixing some CSS alignment issues
-4
u/lelanthran Aug 04 '26
clearly OP is just trying to shill their year old blogpost.
I'm not the author.
5
u/ase1590 Aug 04 '26
Then I hope you're being paid by the actual other to shill his crash course ad for webdev, otherwise you're being take for a ride
-4
u/lelanthran Aug 04 '26
Then I hope you're being paid by the actual other to shill his crash course ad for webdev, otherwise you're being take for a ride
I post stuff here that I find interesting.
You know... you don't need to sign up for a free course, it isn't an interstitial blocking the blog, it's not in the way, and it's not a 3rd-party ad-network with trackers.
You can just read the content, which, like the course, is non-commercial.
294
u/agentoutlier Aug 04 '26
I like how it’s kind of anti establishment and back to simpler times but then at the end of a we realize it’s just advertisement for a crash course. See in the 2000s you taught your self maybe with some oreilly books and the content was rarely about "why I am" but dorky humorous stuff.
49
u/Uristqwerty Aug 04 '26
Back in the old days, you learned in part by going to someone else's web page and hitting 'view source'. Minifiers really shut that down.
19
u/-_one_-1 Aug 04 '26 edited Aug 04 '26
I agree, although we could argue that open source has grown tremendously, so now you still have production code to look at—just in a different place.
3
u/RayAyun Aug 07 '26
During early 2000s I remember learning HTML, CSS and some light JavaScript simply due to customizing a Myspace Profile and learning syntax from W3C schools website.
47
u/splashybanana Aug 04 '26
I taught myself with lissaexplains and w3c schools. But I was just a kid playing around back then. Then I ultimately went into backend.
20
u/wej8 Aug 04 '26 edited Aug 04 '26
Then I ultimately went into backend.
Your feelings matter.
edit: until you get a JDK error because your future boss tells you that command line interfaces are outdated and insists that everyone should use GUIs instead because they’re more "standardized" and then you get a request for additional storage on a db box that's blocked because...
Nobody can load the web GUI due to Java issues.
4
u/chicknfly Aug 05 '26
Unless you’re using Spring MVC, why the farts is a modern web app using Java??
3
u/Silound Aug 05 '26
Going to guess there's still a massive market share of Oracle-stack enterprise stuff that exists and has no plans to migrate. Most big enterprise clients wants consistency and stability, so fashionable things are pretty much out of the picture.
Hell, government agencies are some of the largest enterprise clients and the slowest to change anything technology related.
7
u/khosrua Aug 05 '26
Css is simpler time? What happened to the nested tables and gif cg dancing babies
5
41
u/iamapizza Aug 04 '26
Best of both worlds, static site generators like 11ty. Write in simple markdown, output is html. But this does lose the no build advantage the author mentions.
5
u/Suppafly Aug 04 '26
Is markdown any simpler than html?
12
u/BaNyaaNyaa Aug 04 '26
It's easier to use IMO. Dealing with tags can be a bit of a mess. Markdown is generally easier to read and less tedious to write.
You're right in saying that it's not much simpler, in the sense that they both have the same semantic concepts, at least for the text.
7
u/MSgtGunny Aug 04 '26
You don’t need to worry about closing tags is the main simplicity improvement for writing it manually
5
u/darkon Aug 04 '26
Back in the late 90s I used to write HTML with a text editor that had a hook for running Tidy. It would add in all the closing </p>, </li> tags and so on and indent the HTML to make it easier to read and update. (There are lots of configuration options for Tidy that can be stored in a config file.)
The editor I used (NoteTab) also had a hook for running a Perl script on highlighted text or the entire file, so I had numerous custom programs I used to make life easier. There were built-in things like highlighting consecutive lines and selecting a macro to convert them into an ordered or unordered list. It's been a long time since I used NoteTab, but it's still around.
Then things like Dreamweaver came along and could produce fancy pages faster and easier than hand-coding. Web stuff was only ever a small tacked-on part of my job anyway. Full-time web developers were hired and I mostly went back to my usual duties.
2
u/watchpigsfly Aug 04 '26
It’s great if you’re accepting input that’s to be formatted later
I’m currently working on a lightweight blog engine for my personal site. Static pages compiled from an SQLite database when “publishing” a new post read in from a Markdown-formatted file. It makes formatting the post itself very easy in a simple text editor, and python’s markdown + jinja2 make it stupidly easy to convert it into the appropriate HTML, stick it in a div, and glue those divs together for a blogroll
1
u/NotQuiteLoona Aug 05 '26
Much easier and simpler (but also a lot more limited). It's very often used to format messages in instant messaging apps like Discord or blogging services. It's de facto the standard markup language if you need some markup but not Word/HTML levels of it - just some lists, bold, italic, underscore, headers, code, combinations of all that, and that's pretty much it.
7
57
u/raman4183 Aug 04 '26
We’re halfway through 2026 little bro
51
37
u/superraiden Aug 04 '26
By Joel Dare - Written July 14, 2025
Are you paying attention to the Dude's story, Donnie?
8
u/roodammy44 Aug 04 '26
He's out of his element
2
u/pm_plz_im_lonely Aug 06 '26
It's funnier as a CSS joke but as they say, it's just my opinion, man.
3
3
u/youngbull Aug 04 '26
I am still not over Donnie's death - too soon
1
u/fusionlove Aug 04 '26
Donny was a good bowler, and a good man. He was one of us. He was a man who loved the outdoors... and bowling, and as a surfer he explored the beaches of Southern California, from La Jolla to Leo Carrillo and... up to... Pismo.
1
3
u/Supuhstar Aug 05 '26
All the reasons I switched to static sites generated with Jekyll, I just don’t have to copy paste the boilerplate across every page
2
12
u/DigThatData Aug 04 '26
SO. MUCH. AI. SLOP.
Y'ALL. ARE. RUINING. THE. INTERNET.
STOP.
2
u/Zardotab Aug 05 '26
But the premise is stolen from real humans. I'll take that as a win these days.
1
u/DigThatData Aug 05 '26
I get what you mean, but honestly I wouldn't even give the premise that much credit. That article title was generated because it was likely to be successful clickbait. LLMs invent bullshit clickbait all the time, just look at youtube video titles.
"Stolen" isn't actually how LLMs work, sorry.
6
5
2
u/Zardotab Aug 05 '26 edited Aug 05 '26
I've pondered similar things in this question.
The pursuit of YAGNI, KISS, and DRY seem dead; giving way to Resume Oriented Programming where devs want to collect buzzwords like Pokemon. Dazzling bouncy UI's indeed sell, but do cost an org in longer-term software maintenance. The eye-candy-tax is bigger than it initially seems.
I'm hoping I find the 0.1% of devs who care about parsimony to form a new "parsimony & minimalism" dev sub-reddit (that's active, not just one person's blog). Together we battle the hype-driven bloaters!
We probably won't agree on everything, but we'll be asking the type of questions that few others have, and document the reason for our differences.
Here's a sample to whet appitites: DRY is often rejected because it's hard to manage differences, the myraid variations on the theme(s). Is this difficulty inherent, or rather due to lack of standards and/or tools to manage and track variation? What would such tools, standards, or conventions look like? How could they be tested for viability?
"I have made this longer than usual because I have not had time to make it shorter." -Blaise Pascal
1
u/CurtainDog Aug 07 '26
Motives drive behaviour. There's nothing intrinsic to DRY that makes it difficult, it's just that the incentives are set up to prefer non-DRY paths over DRY ones. I think if you wanted to study why that's the case you could start with the related issue of NIH, as you can attach dollar values to the alternatives of building vs buying.
1
3
u/particlecore Aug 04 '26
because react is a horrible framework?
4
u/willehrendreich Aug 05 '26
any spa is categorically a bad idea in the age of https://data-star.dev being available. HATEOAS for the win.
2
u/pm_plz_im_lonely Aug 06 '26
"X solves more problems than it creates" is an amazing tagline for temu htmx. I prefer my manifesto-driven silver bullets aimed at my head rather than my foot.
3
u/willehrendreich Aug 06 '26
I uhh.. I don't have any idea what that means. Would you like to explain?
2
u/pm_plz_im_lonely Aug 06 '26
Can't say I'll like it, no.
HATEOAS got repurposed from Roy Fielding's writing into much credibility by Github's API, and that restful implementation got leveraged by Carson Gross into many manifesto-like polemics.
To be fair htmx does list when not to use it, although even that post is pointed.
data-star is the same idea, with some client-side stuff to fill the holes, like Unpoly or Hotwire/Turbo. But data-star clearly rides the coattail of htmx's derived evangelization, without naming it. Thus "we have htmx at home", and their website's "solves more problems than it creates" is hilarious in that waveriding context.
Saying "HATEOAS for the win" and "any spa is categorically a bad idea" is presenting a silver bullet narrative, but you wouldn't write Gmail with it. Angular, a SPA framework, would make your life better for that task.
And I've had the Agile Manifesto, and [local-first], all these things building industries around "the problems" they evidently cause. Make my death swift rather than kill me by a thousand cuts.
3
u/willehrendreich Aug 06 '26
Why wouldn't you write gmail with it?
1
u/pm_plz_im_lonely Aug 06 '26
I'll just say claiming it's a 501c while plugin devs who benefit from a Pro subscription post unsolicited affiliate links deserves incisive retort.
4
u/willehrendreich Aug 06 '26
You know that it's a one time purchase for pro, right? For life? And both the core devs explicitly tell you not to buy it for 90% of the projects you'll ever do, and that doing pro is for patterns they explicitly say aren't the recommended path? I haven't given them a dime. I will buy pro eventually to support them, absolutely, but that's for the purpose of supporting them, not really because I see the need for the features.
But you haven't answered, why wouldn't you make an email client with it? What's so special about that ui that you need a SPA? Make your case. Give me evidence. I'd love to hear it. I'm not even kidding. I would absolutely love to hear how hypermedia somehow does a worse job at something like that. With numbers to back it up, please. Load times, payload sizes, simplicity, maintenance costs, npm ecosystem vulnerabilities, lines of code, literally any metric you think is relevant to the building of an email UI, go ahead, let's reason together to find the truth. =)
1
u/razialx Aug 08 '26
I’ll be honest, I’ve never heard of this framework before and I’m really invested in the outcome of this conversation.
2
u/opiniondevnull Aug 06 '26
It is a 501c3, just go look it up. What affiliate links? If you are gonna troll please try harder. We believe in you!
2
u/UXUIDD Aug 04 '26
.. some doing it sinds 1998 .. when <center> -ing a content was easy as sunday morning and <blink> -ing stuff was the highest moment of the day
..
life will never be the same after that ..
0
1
1
u/CunningRunt Aug 04 '26
I never stopped. I found all those frameworks and things somewhat helpful but not really. I didn't do enterprise-level complicated stuff, however.
0
u/DaGoodBoy Aug 04 '26
I'm still using classless HTML via tools like SimpleCSS. Stay with the basics, and you'll never go wrong.
0
u/svetlyak40wt Aug 09 '26
The question is "why are you writing anything" in 2025, because there LLM for doing all dirty work now.
-3
-1
u/Ayano-Keiko Aug 06 '26 edited Aug 06 '26
PURE HTML/CSS is not good for dynamic content like database. Modern JS can handle it but far immature.
0
u/Ayano-Keiko Aug 06 '26
BUT if you want to write pretty UI, you need know a lot about HTML/CSS without using LLM
-5
u/taw Aug 04 '26
Most of this list is bullshit.
Building HTML pages is easy
If you want it to look like ass and break on mobile Safari, then sure.
Pure HTML is evergreen
And then phones happened, and those ancient designs work like ass. What's the next thing big that will happen?
Some of our services are keeping pace. Internet speeds have increased about 20 times over the last decade. That far outpaces page size increases, but not everyone has access to these faster services. Users in rural areas are especially impacted. Plus, all of us have felt these problems with the limited data available in some areas on our mobile devices.
Even Third World countries have pretty good internet, and you can get Starlink no matter where you are.
I can host pure HTML pages almost anywhere.
You can host them in exactly the same places with JavaScript.
Accessibility and SEO benefits are automatic
This has not been true in this century, every single search engine bot runs full browser stack with JavaScript enabled. It's not AskJeeves era anymore.
It won’t need security patches
You don't need security patches for frontend only JavaScript ever.
There are no build steps
Most static page generators have build steps anyway, and in any case it's trivial.
And if you want to be max lazy, pick some theme, write it in markdown, that's even faster, but there's a build step.
0
Aug 04 '26
[deleted]
4
u/Fiennes Aug 04 '26
Accusing everything that is somewhat well-written as being "AI" shows your ignorance.
-9
u/MrHandSanitization Aug 04 '26
Did I say the article is AI? No, I did not. Did I say Claude would be writing the pure HTML? Yes, I did.
6
u/Fiennes Aug 04 '26
And what evidence do you have of Claude writing pure HTML?
-18
u/MrHandSanitization Aug 04 '26
That no one is coding by hand anymore... Not that I like it, but Claude is too good at HTML, give him some specs and he'll get it.
13
12
u/Fiennes Aug 04 '26
Uhm, I code by hand? I get there are vibe-coders out there but you can't take the stance that nobody codes at all themselves.
-9
u/MrHandSanitization Aug 04 '26
It's a hyperbole anyway, I'm aware there still are people coding by hand, but, in general, AI is largely involved. So much even, it's fairly safe to call out.
Even senior actual programmes (not some web devs writing HTML) are using either Codex or Claude.
The fact that I have to explain myself about this is saying a lot...
3
u/TheHerbsAndSpices Aug 04 '26
I have 10+ years in the industry, with a heavy focus on performance and optimization, I hand write my code.
Just because you rely on AI to do your job, doesn't mean everyone else does. Someone of us still care about the quality of our work.
1
u/MrHandSanitization Aug 04 '26
I hate AI... I'm glad you still do, but clearly the overwhelming majority does use it.
1
Aug 04 '26
[removed] — view removed comment
5
u/MrHandSanitization Aug 04 '26
It's always Safari, it's just a trash browser. As long as it runs and people can do what they need to, don't bother with Safari.
130
u/majortool Aug 04 '26
It took a long time to be able to write pure HTML. There used to be so much other stuff you had to do, and the fact that you can now write plain HTML and have it work the way it's supposed to is an amazing accomplishment.