536 points by yevgenyhong 44 days ago | 143 comments
Cool native HTML elements you should already be using(harrisonbroadbent.com) I’m constantly surprised by the native HTML spec. New features are regularly added, and I often stumble on existing, handy elements. While often not as versatile as their JS counterparts, using them avoids bloating your app with extra Javascript libraries or CSS hacks.
Introducing command And commandfor In HTML(chrome.com) Chrome 135 introduces new capabilities for providing declarative behaviour with the new command and commandfor attributes, enhancing and replacing the popovertargetaction and popovertarget attributes.
Invoker Commands (Explainer)(open-ui.org) Adding commandfor and command attributes to <button> and elements would allow authors to assign behaviour to buttons in a more accessible and declarative way, while reducing bugs and simplifying the amount of JavaScript pages are required to ship for interactivity.
278 points by OuterVale 64 days ago | 190 comments
Customizable HTML Select(chrome.com) Styling form controls like the <select> element has been reported as a top developer pain point for years, and we've been working on a solution.
24 points by thunderbong 104 days ago | 9 comments
Relatively New Things You Should Know about HTML Heading into 2025(frontendmasters.com) Not all of this is like absolutely brand spanking new just-dropped-in-2024 stuff. Some of it is, but generally it’s relatively new stuff that’s all pretty great. I’m pointing things out that I think are really worth knowing about. It’s possible you haven’t kept up too much with HTML developments as it tends to, rightfully, move a lot slower than CSS or JavaScript.
163 points by surprisetalk 106 days ago | 45 comments
A Racket alternative to HTML Tidy(joeldueck.com) If you use Racket to generate web pages, you should use this package to make your HTML both readable and correct. Why go to the trouble of designing clean, semantic markup if you’re just going to slap it all on one line that scrolls horizontally forever?
8 points by TheIronYuppie 109 days ago | 29 comments
HTML Is a Programming Language. Fight Me(wired.com) HTML is deceptive. It looks easy. And easy HTML is easy. With a few tags you can write your name on a webpage, make it bigger or smaller, add “is awesome” in bold or italics, and even—for those of us who came of age in better times—make it blink or scroll across the screen.