Topic

HTML

Stay updated with HTML standards, semantic markup, and web accessibility. Our digest aggregates CSS integration, HTML5 features, and DOM manipulation discussions from developer communities.

What this topic tracks

  • Framework and platform updates
  • UI architecture, build tooling, and performance
  • Browser, accessibility, and product engineering practices

HTML · 56 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Progressive Web Components

arielsalminen.com · 31 Jul

Accessibility · Frontend · HTML

Elena is a lightweight (2.6kB) library for building Progressive Web Components.

It prioritizes HTML and CSS first to avoid layout shifts and performance issues associated with pure JavaScript components. By supporting server-side rendering and native standards, Elena enables cross-framework portability, ensuring accessible, performant design systems that work seamlessly across modern web environments.

Phoenix LiveView 1.2 Released

phoenixframework.org · 10 Jun

CSS · Frontend · HTML

Phoenix LiveView 1.2 is now available, introducing Colocated CSS support in HEEx templates.

This feature extracts CSS at compile time for processing by build pipelines. It leverages the @scope rule for style isolation via custom attributes. The release also includes enhanced HTML formatting, improved JS struct encoding, and configurable debug annotations.

Ball Pit

codepen.io · 25 Mar

CSS · Frontend · HTML

CodePen is a popular social development environment for front-end designers and developers.

It allows users to write code in the browser, experiment with HTML, CSS, and JavaScript, and share their projects instantly. It is widely used for prototyping, learning new web technologies, and showcasing creative coding efforts within the global developer community.

Join the 2026 WeCoded Challenge and Celebrate Underrepresented Voices in Tech Through Writing & Frontend Art 🎨!

dev.to · 6 Mar

CSS · Frontend · HTML

The 2026 WeCoded Challenge on DEV celebrates marginalized developers through storytelling and technical creativity.

Participants can submit personal reflections or frontend art between March 6 and April 5. Winners receive exclusive profile badges and DEV++ memberships, with entries judged on clarity, impact, and the effective use of frontend technologies.

Antiquated HTML Snippets and Artefacts

vale.rocks · 8 Sept

Frontend · HTML

The essay catalogs forgotten, non-standard HTML snippets created for browser wars, vendor extensions, third-party integrations, mobile platforms, SEO, social embeds, and web applications.

Examples include X-UA-Compatible, conditional comments, PICS, pinned-site metadata, AMP, pingbacks, and Twitter cards. Their histories show how rapidly changing platforms made once-useful markup obsolete, often replacing it with standardized APIs and metadata.

Parsing Expression Grammar vs. regexes: Building Org parser in Lisp that exports to HTML (via SXML)

jointhefreeworld.org · 24 Sept

HTML · Programming Languages · Software Architecture

OrgWebAlchemy is a Guile Scheme library that uses Parsing Expression Grammars (PEG) to parse Org mode into an AST and render it as HTML through SXML, without Emacs.

It supports headings, nested lists, inline markup, links, blocks, tables, and customizable output. Licensed under GNU LGPL v3+, it is open source and under active development.

Proof of Care in the Age of A.I

jacobfilipp.com · 13 Jul

Frontend · HTML · UI

The author converted handwritten scanned pages into interactive, copy-pasteable text within an SVG.

By overlaying hidden text onto handwriting, using clever spacing techniques, and employing JavaScript to manage copy events, the author achieved a seamless digital experience that preserves the look of the original manuscript while maintaining full website accessibility and functionality.

Show HN: ShadowCat – file transfer through QR Codes in a Browser

github.com · 22 May

HTML · JavaScript · Productivity

This offline, single-file HTML tool enables file transfer between devices using QR codes.

It transmits data by cycling through encoded chunks, allowing retrieval even on older hardware with limited connectivity. The system tracks missing segments via a grid, supports CRC32 verification, and offers configurable chunk sizes, FPS, and ECC levels for reliable, low-bandwidth data exchange.

You are not required to close your <p>, <li>, <img>, or <br> tags in HTML

blog.novalistic.com · 26 Aug

Frontend · HTML · Software Architecture

The article argues that many HTML tags, such as <p>, <li>, <img>, and <br>, do not strictly require closing tags according to the HTML5 living standard.

The author addresses a widespread misconception rooted in the XHTML era of the 2000s, where strict XML-like syntax was popularized. While elements like <p> and <li> have optional end tags, others like <img> are void elements that cannot have content. The author clarifies that omitting these tags is valid HTML, not an error, though consistency is recommended as a best practice. The piece also discusses the history of the self-closing slash, noting its role in ease of migration rather than technical necessity in modern HTML, while encouraging developers to focus on standards-compliant code over rigid and often misunderstood rules.

No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML

qitejs.qount25.dev · 19 Mar

Frontend · HTML · JavaScript

Qite.js is a DOM-first frontend framework designed as a lightweight, build-step-free alternative to React.

It prioritizes direct DOM manipulation, eliminates virtual DOM usage, and separates concerns by keeping HTML as the source of truth while utilizing declarative states and standard JavaScript. It is SSR-friendly, requires no npm, and enhances existing websites without forcing an SPA architecture.

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

github.com · 7 Feb

CSS · Frontend · HTML

This technical exploration demonstrates a creative method for implementing an interactive menu using only HTML and CSS, eliminating the need for JavaScript.

The technique centers on the use of two distinct clip-path properties to manage visual transitions. The first creates a circular reveal effect, expanding from the top-left to the bottom-right of the screen. By utilizing a specific calculation involving vmax and a multiplier of 1.42—representing the square root of 2—the developer ensures the circle covers the entire viewport regardless of aspect ratio. The second clip-path utilizes a polygon shape to simulate a light ray effect. While currently hardcoded, this approach offers a lightweight, high-performance alternative for web animations and UI design.

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

mujs.org · 7 Mar

Frontend · HTML · JavaScript

µJS is a lightweight AJAX navigation library that transforms traditional websites into single-page apps without requiring JavaScript frameworks or build steps.

It features prefetching, DOM morphing, and multi-fragment updates while remaining backend-agnostic. By intercepting links and form submissions, it enables instant navigation through background fetching and partial content replacement.

Please don't mess with links

maurycyz.com · 23 Oct

Frontend · HTML · UX

Use native HTML links instead of JavaScript buttons or popup handlers: real links support tabs, windows, downloads, URL copying, keyboard access, search engines, screen readers, previews, loading controls, bookmarks, and browser organization.

Prefer target="_blank" over JavaScript popups and browser-native loading. Avoid infinite scrolling, unnecessary JavaScript for large text, excess network round trips, custom <details>, and custom date pickers; native controls provide accessibility, keyboard support, standard formatting, and dark-mode compatibility, while CSS can improve their appearance.

CSS Web Components for marketing sites (2024)

hawkticehurst.com · 4 Nov

CSS · Frontend · HTML

The author argues that traditional Web Components utilizing Shadow DOM and JavaScript are often overkill for marketing websites.

Instead, they propose 'CSS Web Components,' an architecture where custom elements wrap standard HTML to provide clear styling boundaries and variant control through CSS attribute selectors without any JavaScript dependency.

CSS: Unavoidable Bad Parts

matklad.github.io · 9 Jun

CSS · Frontend · HTML

This guide serves as a practical, non-expert tutorial on CSS, focusing on a learnable subset for building simple websites.

It highlights essential strategies like semantic HTML and classless CSS, while warning against common pitfalls like browser defaults, layout complexities, margin collapsing, and the intricacies of font rendering, ultimately advocating for a pragmatic approach to styling.

Type-safe HTML templating in Zig

lalinsky.com · 11 Oct

HTML

zt is a Zig HTML templating library adapted from Templ that parses templates into Zig during zig build, providing compile-time type checking and direct std.Io.Writer output without allocations.

It escapes text and attributes by default, validates URL schemes, requires closed elements, and requires {!value} for raw HTML. Templates support Zig control flow, reusable components, layouts, and @children, while errors map generated code back to source templates. It integrates with Dusty and supports htmx-based applications.

JSON-LD Explained for Personal Websites

hawksley.dev · 21 Jun

HTML

JSON-LD provides a standardized format to add structured data to websites, helping crawlers interpret semantic content, improve search results, and enable rich previews.

Implementing nodes such as Person, WebSite, and BlogPosting helps define site hierarchy for search engines and enhances metadata quality for both traditional crawlers and AI models.

Would you reconsider your Tufte CSS sidenotes?

kyo.iroiro.party · 29 Nov

CSS · Frontend · HTML · UX

Inline Tufte CSS sidenotes can harm accessibility and text usability despite working visually across wide and narrow layouts.

Because notes are embedded inside paragraphs and repositioned with CSS, text selection, reader modes, text browsers, and screen readers may produce confusing order, missing spaces, or unwanted copied content; collapsible checkbox controls also add interaction that conflicts with Tufte’s unobtrusive design. The author recommends semantically correct footnotes, positioned with CSS Grid or similar techniques and kept as blocks on mobile.

Where it came fromHacker NewsLobstersDev.toCreate a Snapbyte.dev digest and choose HTML as one of your topics.Build your digest