What's the difference between class and id?


#1


Replace this line with your code.


#2

#3

class is when you give the same value to more than one element. ID is to describe only one


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.