Class and ID in CSS ?

hoangvu

New member
Joined
Jun 6, 2012
Messages
1,835
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
229
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
11
Views
6,954
Replies
20
Views
10,737
Replies
2
Views
5,152
Replies
2
Views
4,718
Replies
13
Views
8,950
Newer threads
Replies
0
Views
5,299
Replies
2
Views
5,851
Replies
2
Views
5,299
Replies
34
Views
82,227
Latest threads
Replies
1
Views
50
Replies
1
Views
58
Replies
0
Views
120
Replies
2
Views
124
Similar threads

Referral contests

Referral link for :

Sponsors

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