Pratyush Mittal
Hobby coder and a stock investor.
Co-founder Screener.in

This is such a cool CSS trick. Cross-browser. No JS.

The tabs are implemented as different sections with different ids. Then the tab contents are hidden using:

section { display: none; }

The CSS which toggles them is:

section:target { display: block; }

Noice!