Preventing same-document and cross-document navigation

Using .preventDefault() on the navigate and beforeunload events

Focus Management with the Navigation API

Managing focus when using client-side routing

Inheriting sibling-index() for staggered animation

Register your custom property with @property

A complete guide to the HTML number input

Styling, UX, validation

Is <style> in <body> a good idea?

HTML conformance, security and performance

setHTML(), Trusted Types and the Sanitizer API

Avoiding cross-site scripting (XSS) attacks with new web APIs

Frontend complexity and the HTML renaissance

Why I'm rooting for HTML.

Is CSS-in-JS still a thing?

styled-components goes into maintenance mode. Newer tools like StyleX and vanilla-extract haven't matched its popularity.

Dark mode for SVG

Using the light-dark() CSS function to implement light and dark mode for non-inline SVG icons, including SVG used with the HTML img element or as a CSS background-image.

text-align-last

Aligning the last line of text