Skip to content
05The Code Museum

View source

Thirteen chapters in how the Web was built, each with a working example you can edit. Your code runs in a sandboxed frame with no access to this museum, your storage or your cookies.

1996–2003

Table-based layouts

Tables were designed for tabular data, but designers discovered they could use them as invisible layout grids. Combined with 1×1 pixel "spacer" images, they made multi-column pages possible.

The approach was brittle and inaccessible to screen readers, which is part of why the web standards movement pushed for CSS layout.

Tab inserts spaces · press Esc then Tab to leave the editor

Live preview · sandboxed

The preview iframe uses sandbox="allow-scripts allow-modals" without allow-same-origin: scripts run, but in an opaque origin isolated from Webvolution.