class vs. id
class vs. id
Out of context: Reply #6
- Started
- Last post
- 6 Responses
- 7point340
id is used with javascript. the main reason it is unique and used only once.
a class is simply a style.
+ what everyone else already said
id is used with javascript. the main reason it is unique and used only once.
a class is simply a style.
+ what everyone else already said