dcsimg
 

Submitted by: Octavia Anghel(octaviaanghel@gmail.com)

Wednesday Apr 25th 2018 by Octavia Anghel

Language: Web, Expertise: Intermediate - Learn the difference between ID and Class in CSS notation.

These two selectors often confuse beginners. In CSS, the difference between them is that the class is represented by a dot ".", while ID is represented by a hash "#".

In a nutshell ID is used on a style that is unique and it doesn't repeat itself, but the class can be re-used.

Home
Mobile Site | Full Site
Copyright 2018 © QuinStreet Inc. All Rights Reserved