Codú
‹ Back to feed

// Link · 5 March 2026

The Different Ways to Select <html> in CSS

Sure, we can select the element in CSS with, you know, a simple element selector, html. But what other (trivial and perhaps useless) ways can we do it? The Different Ways to Select in CSS originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

CSS-Tricks
@css-tricks · css-tricks.com
css-tricks.com
Visit Link at css-tricks.com
CSS-Tricks@css-tricks

Discussion 0

Loading

Got something to say?

or to join the conversation.

Learn to build with AI and grow with people doing the same — it's free.