What are CSS ids and classes?

In the CSS, a class selector is a name preceded by a full stop (“.”) and an ID selector is a name preceded by a hash character (“#”) . The difference between an ID and a class is that an ID can be used to identify one element, whereas a class can be used to identify more than one.

Sizin İçin Seçtik  What is a class attribute in CSS?

Leave a Reply

Your email address will not be published. Required fields are marked *