About :

Hey there! we are SARK.

What is an Id?

An ID is an attribute, a unique identifier assigned to only one HTML element within a page. It is often used for unique styling and javascript manipulation.

We can target Id using - " . " ( dot )

Id is unique an element and can be given to only one element.

What are classes?

The class attribute lets you give the same name to multiple HTML elements. That way, you can easily change their look and behaviour all at once. Classes are not unique and can be assigned to multiple elements. They are generally used for applying the same styles or behaviours to a group of elements.

Class can be given to one or more elements.

We can target class using -" # " ( HashTag )