Class and ID in CSS ?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,887
Points
0
Anyone know how to use Class and Id in Css and are they different from?
 

webdesign

New member
Joined
Jul 5, 2012
Messages
234
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
Joined
Dec 24, 2012
Messages
23
Points
0
Same name as the id in the html can not be reused, class can.
 
Older threads
Replies
12
Views
5,943
Replies
20
Views
8,494
Replies
2
Views
4,306
Replies
2
Views
3,842
Replies
13
Views
7,792
Newer threads
Replies
1
Views
2,943
Replies
5
Views
3,362
Replies
2
Views
2,948
Replies
31
Views
31,939
Latest threads
Replies
3
Views
40
Replies
3
Views
44
Replies
3
Views
54
Replies
0
Views
46
Replies
4
Views
91
Recommended threads
Replies
3
Views
4,917
Replies
7
Views
1,995
Replies
7
Views
2,129
Replies
29
Views
8,827
Similar threads

Latest postsNew threads

Referral contests

Referral link for :

Sponsors

Latest Blog ArticlesMost Viewed Threads

Popular tags

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