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.
162 points by surprisetalk 7 days ago | 44 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 11 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.
47 points by tannhaeuser 23 days ago | 21 comments
My favourite colour is Chuck Norris red(htmhell.dev) Setting the colour of text on a webpage is usually a simple affair involving whipping it out the good ol' CSS color property. But this is HTMHell, dammit. None of that wishy-washy CSS nonsense here. No siree. We use HTML as the good lord intended and shalln't stray into the sins of cascading sheets lest we end up some non-HTML variant of hell where they define page structure with JavaScript vars.
<dialog>: The Dialog Element(mozilla.org) The <dialog> HTML element represents a modal or non-modal dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.
HTML Form Validation is underused(expressionstatement.com) HTML Forms have powerful validation mechanisms, but they are heavily underused. In fact, not many people even know much about them. Is this because of some flaw in their design? Let’s explore.
143 points by todsacerdoti 83 days ago | 57 comments
Smarter Than 'Ctrl+F': Linking Directly to Web Page Content(alfy.blog) Historically, we could link to a certain part of the page only if that part had an ID. All we needed to do was to link to the URL and add the document fragment (ID). If we wanted to link to a certain part of the page, we needed to anchor that part to link to it. This was until we were blessed with the Text fragments!