Jens Oliver Meiert

Use my latest work: latest tech booklatest non-tech booklatest toollatest major tool update

HTML Concepts: Browsing Contexts

Published on Sep聽30, 2022 (updated Oct聽18, 2024), filed under , . (Share this post, e.g., on Mastodon or on聽Bluesky.)

Welcome to another episode of HTML Concepts! Today, browsing contexts鈥攚hat is that?

The starting point should be the HTML specification (as always鈥攖his, and not even MDN, is the source of truth). What does it say?

A browsing context is an environment in which Document objects are presented to the user.

This is cryptic, but the specification goes on to clarify:

A tab or window in a web browser typically contains a browsing context, as does an iframe or frames in a frameset.

This sounds fundamental and indeed, the browsing context is a key concept:

A browsing context is where a user agent displays a document鈥攚hich often is a tab or window, but can also be an iframe or frame. Every browsing context has its own DOM, origin, navigation and history, as well as cookies.

That is, every site or app has a and its own browsing context鈥攁nd that鈥檚 why this is such an important, yet also basic concept.

I鈥檓 not sure I made a much more complex subject overly simple, or a simple subject overly complex! Please let me know.

About Me

Jens Oliver Meiert, on March 2, 2026.

I鈥檓 Jens (long: Jens Oliver Meiert), and I鈥檓 an engineering lead, guerrilla philosopher, and indie publisher. I鈥檝e worked as a technical lead and engineering manager for companies you use every day (like Google) and companies you鈥檝e never heard of, I鈥檓 an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for O鈥橰eilly and Frontend Dogma.

I love trying things, not only in web development and engineering management, but also with respect to politics and philosophy. Here on meiert.com I talk about some of my experiences and perspectives. (Please share feedback: Interpret charitably, but do be critical.)