News for hackers. Stuff that matters.
Re:Just use HTML by reconnecting on Monday May 12, 2025 @10:13AM (#43963154)
We made tirreno website [1] with only HTML 4.01 and 1 transparent pixel, no CSS or JS. Works well on any device. Easy to update. Highly recommended.

[1] https://www.tirreno.com/

Re:Just use HTML by bambax on Monday May 12, 2025 @10:15AM (#43963192)
| <font size="5" face="Helvetica">Monitor and protect your web app from cyberfraud, account threats, bots and abuse with a single security platform.</font>

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.

Re:Just use HTML by reconnecting on Monday May 12, 2025 @10:31AM (#43963421)
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.

Re:Just use HTML by Mashimo on Monday May 12, 2025 @10:53AM (#43963729)
Might be art, might be fun. But you also claimed it's easy to update.

But now you have to write <font size="5" face="Helvetica"> every time you create another one of those elements.

And if you want to change the font you would need to search and replace in different .html files.

It does not seem easy to update.

Re:Just use HTML by reconnecting on Monday May 12, 2025 @11:12AM (#43963960)
Easy to update means you only need a text editor and source code to maintain it.

Regarding the effort to write `<font size="5" face="Helvetica">` (I'm just typing this again), it's fairly easy, and taking into account the meaning of the text inside those tags, it is worth spending the time for typing.

Re:Just use HTML by 28304283409234 on Monday May 12, 2025 @01:12PM (#43965286)
Easy as in 'you do not need to shave a yack, just open a text editor'. As opposed to "install node, sass, webpack, vuex, tailwind" or what have you nowadays.

I like that. Few or no dependencies.

Re:Just use HTML by wartijn_ on Monday May 12, 2025 @02:19PM (#43966017)
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 simple tools and web standards, but this website with its layout build with tables is a terrible example.

Re:Just use HTML by reconnecting on Monday May 12, 2025 @02:52PM (#43966339)
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 screen display. In this case, it’s our way of bringing back neon to the web.

Re:Just use HTML by kelas on Monday May 12, 2025 @09:18PM (#43968903)
No, brother - a neon tube requires at least a 4kV transformer, she's not so easy going. And in 2025 there are still absolutely valid use cases for CRT oscilloscopes, lamp amplifiers, LPs and Compact Cassettes, if you're old enough to know what those things are. But arithmometers are only useful to have fun under influence, sorry. Don't be a luddite.

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 by reconnecting on Tuesday May 13, 2025 @02:41AM (#43970137)
There is nothing about luddism here. We had a choice: to create a standard modern website, as everyone does these days, or to try something slightly different. The team chose a non-standard approach. To an external observer, such as our banker, it looks absolutely normal. However, if some CTO veteran were to delve into the code and encounter HTML tags that they haven't seen in the last 25 years, they might experience some sentimental or ironic feelings, but in any case, no one gets hurt. Luckily, the <bgsound> tag is no longer supported.

What these web page experiments actually prove is that there are people in the industry who either don’t know or have forgotten what a real HTML page without JS/CSS frameworks looks like. For those, it might be beneficial to discover how things were done at the beginning.

Thanks for mentioning the art. This is something that couldn't be done alone, as it requires both a creator and a spectator. From this perspective, feeling that this HTML web page has an influence on a different audience is exactly what modern art (not to be confused with programming art) is about.

P.S. I am not associated with the original post above.

Re:Just use HTML by kelas on Monday May 12, 2025 @08:54PM (#43968807)
Hard to disagree on the last part, but hand-coding HTML4 for food in 2025 is not the answer. First, it will look horrible. Second, if will look even more horrible on mobiles, which are first.

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:

https://kel.as

Buckle up and enjoy the ride.

Re:Just use HTML by reconnecting on Tuesday May 13, 2025 @03:03AM (#43970290)
The ultimate irony of the moment is that you're typing this exact comment on a webpage that contains the following code:

<table border='0'> <tr> <td class='ind' indent='0'> <img src="s.gif" height="1" width="0"> </td>

Re:Just use HTML by pfg_ on Monday May 12, 2025 @10:19AM (#43963236)
It's super zoomed out on my phone, it doesn't have a mobile viewport. And if you do want to read text, you have to zoom in more than the width of the full page so you have to constantly scroll left and right.
Re:Just use HTML by noisem4ker on Monday May 12, 2025 @10:47AM (#43963638)
This is a failure or regression of mobile browsers. We once had automatic line wrapping (Opera Mobile did it best back in its Presto engine days) which provided readable size paragraphs and avoided the need for horizontal scrolling. The onus of adapting the presentation to the medium shifted to the websites, while browsers lost agency.
Re:Just use HTML by Gualdrapo on Monday May 12, 2025 @11:39AM (#43964261)
I'd like to see how that worked. In my mind I'd guess such a feature could have been great for one column layouts, like in this website, but I can't imagine how it would be for the then-traditional layouts of a left sidebar navigation column and a right area for content.
Re:Just use HTML by noisem4ker on Tuesday May 13, 2025 @10:24AM (#43973333)
Page starts zoomed out. Each element is limited in width. Double tapping on an element (e.g. a paragraph) zooms in on said element, making it full width. Further zooming in causes the text to reflow to the viewport width. It's difficult to describe, but it used to work fine.
Re:Just use HTML by Mashimo on Monday May 12, 2025 @10:21AM (#43963267)
> Easy to update.

How does updating the font or color work? Search and replace on multiple HTML files?

Re:Just use HTML by Etheryte on Monday May 12, 2025 @10:23AM (#43963299)
Impossible to read on mobile unless you pinch zoom way in and then pan back and forth across the page. A bit bold to say that it works well.
Re:Just use HTML by reconnecting on Monday May 12, 2025 @10:41AM (#43963566)
Interesting, as the webpage has a viewport meta tag.

May I ask what your phone model is?

Re:Just use HTML by uallo on Monday May 12, 2025 @10:55AM (#43963755)

    <meta name="viewport" content="width=800, initial-scale=0">
This sets the width to a mininum of 800px, no matter what phone model or browser you use. I'm a little confused how you can can claim this "Works well on any device" when apparently it was not tested on a phone. I, too, closed the tab before I even had a chance to learn about your product.

Update: Not OP, but I'm on a Pixel 8a with Firefox.

Re:Just use HTML by reconnecting on Monday May 12, 2025 @11:24AM (#43964091)
This is a software website, and we don't expect many visitors from mobile devices. However, I'll check if this issue can be resolved without using CSS.

Thanks for letting me know.

Re:Just use HTML by Etheryte on Monday May 12, 2025 @11:41AM (#43964286)
I think this is a classic case of familiarity blind spot. It's easy to think of your users as people similar to you, but that's not necessarily the case. Statistically mobile phone users outnumber non-mobile users online nearly two to one, some statistics put the estimate even higher.
Re:Just use HTML by reconnecting on Monday May 12, 2025 @12:00PM (#43964490)
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.

Re:Just use HTML by uallo on Monday May 12, 2025 @12:31PM (#43964850)
> 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.

No, it requires constant zooming and panning to be able read anything. And this has nothing to do with Firefox, Chrome and other browsers behave exactly the same. It is absolutely an issue with your website.

Re:Just use HTML by reconnecting on Monday May 12, 2025 @01:07PM (#43965229)
It works great [1] on my mobile device.

[1] https://www.tirreno.com/news-screenshot.jpg

Re:Just use HTML by Etheryte on Monday May 12, 2025 @12:46PM (#43965008)
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 mobile when it's broken on mobile.
Re:Just use HTML by reconnecting on Monday May 12, 2025 @02:15PM (#43965980)
Likewise. It works great on all [1] my mobile devices.

[1] https://www.tirreno.com/news-phone.jpg

Re:Just use HTML by lcnPylGDnU4H9OF on Monday May 12, 2025 @08:43PM (#43968768)
> As an aside, it's not surprising that nearly none of your users access your webpage from mobile when it's broken on mobile.

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 by reconnecting on Tuesday May 13, 2025 @01:47AM (#43969914)
It is not broken on mobile. There is simply nothing to be broken.

What commenters above are probably suggesting is that there is no adaptive version for mobile, but no one had promised one.

One small, but important correction, it's a B2B on-prem web application, and this is exactly the reason why any devices except those that can run the web server itself are not the target audience.

Re:Just use HTML by reconnecting on Monday May 12, 2025 @11:04AM (#43963859)
It has been tested and works well on various devices, including phones, which is why I’m kindly asking for your exact device model.
Re:Just use HTML by bradly on Monday May 12, 2025 @10:21AM (#43963268)
Nice! I'm working on a private Recipe bookmarking site that currently has no JavaScript and minimal CSS.

https://github.com/bradly/recipin

Re:Just use HTML by reconnecting on Monday May 12, 2025 @10:54AM (#43963741)
It's says 'Your browser is not supported. Please upgrade your browser to continue.'
Re:Just use HTML by bradly on Monday May 12, 2025 @11:29AM (#43964155)
Thank you. That is a bug and I will investigate. CloudFlare does inject JS into the outgoing HTML for email address obfuscation in the footer. I may need to remove that.
Re:Just use HTML by reconnecting on Monday May 12, 2025 @11:37AM (#43964235)
When I took my first full time webdev job (23 years ago), our company had always used outdated browsers because it helped to prevent bugs earlier.

Time flies, but I'm still not on the latest browser, and it helps a lot.

Re:Just use HTML by martibravo on Tuesday May 13, 2025 @10:17AM (#43973263)
Nice commit emojis
Re:Just use HTML by bradly on Tuesday May 13, 2025 @03:27PM (#43976665)
Thank you! It is inspired by this artwork by Jimi Biscuits https://www.jimibiscuits.com/product/mood-juggler-letterpres...
Re:Just use HTML by bdcravens on Monday May 12, 2025 @10:33AM (#43963449)
I have no idea if this is satire, or if you're a younger developer who "found" the techniques we ran away from screaming 20 years ago.

    <table border="0" width="720" cellpadding="0" cellspacing="0" align="center">

    <td height="1" width="100%" bgcolor="#575677">
        <img src="spacer.gif" alt="" width="1" height="1" border="0">
    </td>
I feel like CSS is unfairly coupled to JS frameworks. It may be reasonable to say that CSS 3 is unnecessarily complex, but clean "semantic" HTML and a basic presentational style sheet is an amazing combination that isn't related to the ball of mud that modern development has become.
Re:Just use HTML by reconnecting on Monday May 12, 2025 @10:52AM (#43963723)
The idea to make a website without CSS/JS came to me when I was picking up my mechanical watch from the watchmaker. He used some analog machines to calibrate the movement, and it gave me a sense of trustworthiness that I want to convey through tirreno website.
Re:Just use HTML by gullevek on Tuesday May 13, 2025 @01:19AM (#43969806)
Doesn't work with any mobile phone. So what is the point in this?
Re:Just use HTML by reconnecting on Tuesday May 13, 2025 @02:55AM (#43970242)
May I ask whether you see something shows in the devices below [1]? Or the page not loading at all, completely blank, or displaying a broken layout?

[1] https://www.tirreno.com/news-phone.jpg