---
title: "Discussion on \"Difference Between Id And Class In Css\" | Hashnode"
description: "Discussion on \"Difference Between Id And Class In Css\". Hello....I published the following code for sharing knowledge about the differences between ID and class in CSS(Cascading Stylesheet).\nIn CSS, class and ID selectors are used to identify various HTML elements. The main benefit of setting class or ID ..."
url: "https://hashnode.com/posts/difference-between-id-and-class-in-css/6216bfbb3b11209c8fb4c572"
---

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

Discussion

# [Difference Between Id And Class In Css](https://youngdev07.hashnode.dev/difference-between-id-and-class-in-css?utm_source=hashnode&utm_medium=feed)

Hello....I published the following code for sharing knowledge about the differences between ID and class in CSS(Cascading Stylesheet). In CSS, class and ID selectors are used to identify various HTML elements. The main benefit of setting class or ID ...

Feb 23, 2022 · 2 min read · youngdev07.hashnode.dev  
Read the article

## Written by

[Bn Abiibakr Musa](https://hashnode.com/@Youngdev07)

@Youngdev07

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

A junior web developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
