If the web wasn’t so amenable to frameworks & polyfills HTML wouldn’t have gained all the nice things in HTML5. We can be grateful for the explosion of ideas & the standards process that (mostly) keeps the best ones.
Just use HTML
141–150 of 188 posts
Re: Just use HTML
#142Re: Just use HTML
#143Re: Just use HTML
#144Earlier quoted context omitted.
This is a misleading reference to statistics without context. It's not a B2C website, and in fact, most of our audience accesses it from Linux devices rather than mobile Firefox. Anyway, even if someone does visit using mobile Firefox, it only takes one zoom-in/ zoom-out to adjust. So it's not really a webpage code issue, it's more about how Firefox renders pages on mobile devices.
This whole interaction is weird to me. Multiple commentators here have confirmed that your site is broken due to a, let say, somewhat unorthodox technical choice you've made. Rather than fix it, which would've probably taken less time than the thread here, you're trying to convince everyone else that they're holding it wrong. As an aside, it's not surprising that nearly none of your users access your webpage from mob…
I doubt their lower mobile visitor numbers are due to the UX on mobile. They may have a lower conversion rate from mobile visitors but it sounds like people don’t visit much on their phones. A given user won’t know it’s broken on mobile before loading the page on mobile.
Additionally, it is a marketing page for a B2B SaaS for web application security. With that context, only if they said anything other than “most of our audience accesses it from Linux devices” I would have reason to think they’re lying. I get the feeling that their business isn’t hurting for mobile users. (When I visited on my phone I figured it’s pointless unless I’m on something with a real keyboard once I saw what’s on offer.)
Re: Just use HTML
#145Earlier quoted context omitted.
| Monitor and protect your web app from cyberfraud, account threats, bots and abuse with a single security platform. Sure but how is this better than setting up the font in CSS? There may be an advantage to not having an external CSS file, but setting up CSS rules inside the HTML file works perfectly well and is much more maintainable than this IMHO.
The short answer: Because anyone can do this using in-line or in-file CSS. The long answer: Technologies are a blend of humans and machines. Typing HTML code by yourself, especially in 2025, gives another level of meaning and human touch. It's more like modern art in some way.
Third, if you're really determined to go piedi nudi nel parco in a modern browser, why not abandon HTML4 as well, and the dreaded 1-pixel along with it?
Just escape everything altogether, and you'll be fine. Avoid HTML5, CSS, WOFF, Canvas, and all other dreadfully slow and bug-ridden APIs. You'll be fine, take my word for it. All you need, really, is unobstructed access to target GPU, which will be orders of magnitude faster than all API bs and still do more than HTML4 ever could. For one example, can you figure out how the following page manages to render an HTML page with Garamond Math on it without loading any Garamond Math to begin with and no HTML to write home about? Network tab is a good start:
Buckle up and enjoy the ride.
Re: Just use HTML
#146Earlier quoted context omitted.
But the same can be achieved by using css. Then there's still nothing to install, and it's still something you can change by just opening a text editor. Plus it would be easy to update in the sense your parent poster meant. And with css you're using the right tools to style your website, so you won't have people complaining the website isn't working well on mobile, although you thought it would be. I'm all for using…
Just for fun, I tried opening the tirreno website on the first iPhone now, and it works as it should. However, it must be clear that no one expects this website to be taken as an example. Back in the day, there was no other solution than using tables and 1px gif spacing, this is just a reminder of how things were at the beginning. It’s like seeing neon gas advertising and insisting it should be made with a flat scree…
A modern web browser, on the other hand, is the closest the humanity ever got to building a tower of Babylon, which is very easy to see by spending a few hours exploring how the Chromium sausage is made. I'm not aware of any worse codebase out there in the wild, and it is definitely not glowing neon.
On yet another hand, there are good news - it is just a matter of time when DOM API will get properly exposed to WASM VM, and on that sunny day all script kiddies, along with nodejs kiddies, along with endless pythonista will finally and traumatically learn the difference between the definitions of "computer programmer" and "software developer".
The day will come, and computer programming will again be art and full of fun.
You always get back to the basics, they say. But the road is long and full of sticks and stones, just like a false sheperd called 1-pixel gif. That's not yet the art of programming, sorry.
And btw I fully support HN for flagging this post. The quality of writing there is as silly as it is obnoxious.
Re: Just use HTML
#147Wow, I had no idea elements with an id attribute are directly accessible in JS. Combine this with Pico CSS or one of those minimal stylesheets (Water.css) to get better typography and spacing and you‘re set. I guess htmx is the extreme version of this no-framework philosophy… kinda.
Wait, this actually says to use the implicit ID mapping on the global object? That hasn't been good advice since about 1999! edit: I checked and wow, it really does. Good grief, did an AI write this? Use getElementById or querySelector or querySelectorAll or any other remotely modern web API method instead.
Re: Just use HTML
#148Re: Just use HTML
#149Earlier quoted context omitted.
Wait, this actually says to use the implicit ID mapping on the global object? That hasn't been good advice since about 1999! edit: I checked and wow, it really does. Good grief, did an AI write this? Use getElementById or querySelector or querySelectorAll or any other remotely modern web API method instead.
IE started this. Now IE is gone and we will remain stuck with it forever.
Re: Just use HTML
#150Earlier quoted context omitted.
I think some people who really centered their lives and careers around doing the opposite of what this website says can’t see the humor in it.
I think you need to stop telling people what you think. There is a risk you might be wrong and you come across as ignorant. Case in point: I didn’t build my career around front end technologies. Frankly, I am certain you have no clue what I do. Don’t bend yourself backwards over it. All I’m saying is: if your sense of humour is repulsive, good luck. If it’s a satirical thing, give me a clue.