Tagged “html5”
Should I use the HTML5 section element and if so, where?
Unlike other HTML5 elements such as header
, footer
and nav
, it’s never been particularly clear to me when is appropriate to use section
. This is due in large part to many experts having expressed that it doesn’t quite work as intended.
Observer APIs in a nutshell
I’ve played with the various HTML5 Observer APIs (IntersectionObserver
, ResizeObserver
and MutationObserver
) a little over the last few years—for example using ResizeObserver
in a container query solution for responsive grids. But in all honesty their roles, abilities and differences haven’t yet fully stuck in my brain. So I’ve put together a brief explainer for future reference.
See all tags.