Mathias Bynens 12/14/2010

Using CSS without HTML

Read Original

This article explains a proof-of-concept for using CSS without any HTML markup. It details how browsers auto-generate implied HTML elements like <html> and <body>, and how the Link HTTP header can be used to attach stylesheets, enabling a purely CSS-driven page. It's a deep dive into browser behavior and CSS specifications, though it warns against using these techniques in production.

Using CSS without HTML

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week