Class and ID in CSS ?

Marc0

Well-known member
Registered
Joined
Jun 6, 2012
Messages
890
Points
28
Anyone know how to use Class and Id in Css and are they different from?
 

webdesign

Well-known member
Joined
Jul 5, 2012
Messages
120
Points
0
Id is different from class in css, Id use for javascript identify name on page, you can use class more times in your code.
 
Last edited:

wmdonald

New member
Registered
Joined
Dec 24, 2012
Messages
14
Points
0
Same name as the id in the html can not be reused, class can.
 
Older Threads
Replies
14
Views
6,875
Replies
19
Views
9,183
Replies
4
Views
3,184
Replies
4
Views
3,501
Newer Threads
Replies
1
Views
2,781
Replies
5
Views
3,521
Replies
5
Views
4,784
Replies
17
Views
7,843
Latest Threads
Replies
0
Views
130
Replies
0
Views
66
Replies
0
Views
60
Replies
1
Views
89
Recommended Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top