News for hackers. Stuff that matters.
Re:The case against self-closing tags in HTML by afiori on Thursday July 06, 2023 @11:08AM (#36617184)
A good minimizer for the html could remove the optional tags
Re:The case against self-closing tags in HTML by jraph on Thursday July 06, 2023 @11:14AM (#36617276)
Yep, that would be a solution for any project which has a build pipeline (anyway).

For the better or the worse, when I deal with HTML directly, I usually just copy the HTML pages as they are on the server and have no mandatory Javascript, if at all. It's easier, and it's also "free backup on production".

Re:The case against self-closing tags in HTML by nicbou on Thursday July 06, 2023 @12:09PM (#36618179)
Are there specific ones you recommend? Currently I just use CloudFlare's, but I'd love to squeeze a few extra kb out of my static pages.
Re:The case against self-closing tags in HTML by marcosdumay on Thursday July 06, 2023 @01:36PM (#36619749)
I do think a maximizer that fills the optional tags in would be more useful.

(Yeah, that's called a pretty printer, but the symmetry is nice.)