---
title: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\" | Hashnode"
description: "Discussion on \"CSS Selectors 101: Targeting Elements with Precision\". Why CSS Selectors Are Needed\nHTML creates structure (what is on the page).CSS controls style (how it looks).\nBut CSS needs to know which HTML element to style.\nThat’s where CSS selectors come in.\n\nCSS selectors are rules that tell CSS which elements ..."
url: "https://hashnode.com/posts/css-selector/697c5740a6c456defcc3deee"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CSS Selectors 101: Targeting Elements with Precision](https://blog.jainviral.com/css-selector?utm_source=hashnode&utm_medium=feed)

Why CSS Selectors Are Needed HTML creates structure (what is on the page).CSS controls style (how it looks). But CSS needs to know which HTML element to style. That’s where CSS selectors come in. CSS selectors are rules that tell CSS which elements ...

Jan 30 · 3 min read · blog.jainviral.com  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)

## Written by

[Viral Jain](https://hashnode.com/@Viraljain754)

@Viraljain754

  
[View profile](https://hashnode.com/@Viraljain754)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
