---
title: "Discussion on \"Guide To CSS Selector\" | Hashnode"
description: "Discussion on \"Guide To CSS Selector\". Basic selectors\n1. Universal Selector:\nThe universal selector (*) selects all HTML elements on the page.\nExample-\nThe CSS rule below will affect every HTML element on the page: \n/* asterisk symbol means apply to all */\n*{\n    margin: 0;\n    padding: ..."
url: "https://hashnode.com/posts/guide-to-css-selector/62d5397cbc2c7a1dc672afd7"
---

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

Discussion

# [Guide To CSS Selector](https://nikhilkhetan.hashnode.dev/guide-to-css-selector?utm_source=hashnode&utm_medium=feed)

Basic selectors 1. Universal Selector: The universal selector (\*) selects all HTML elements on the page. Example- The CSS rule below will affect every HTML element on the page: /\* asterisk symbol means apply to all \*/ \*{ margin: 0; padding: ...

Jul 18, 2022 · 3 min read · nikhilkhetan.hashnode.dev  
Updated Jul 30, 2022  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#learncodeonline](https://hashnode.com/tag/learncodeonline)

## Written by

[Nikhil Khetan](https://hashnode.com/@nikhilkhetan)

@nikhilkhetan

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

I am here to explore web development journey

Hello! I am Nikhil Khetan I am here to explore my coding journey and write blogs on web development.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
