What is class and ID attribute?

Difference between id and class attribute: The only difference between them is that “id” is unique in a page and can only apply to at most one element, while “class” selector can apply to multiple elements .

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

Leave a Reply

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