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,924
Replies
19
Views
9,229
Replies
4
Views
3,196
Replies
4
Views
3,530
Newer Threads
Replies
1
Views
2,790
Replies
5
Views
3,544
Replies
5
Views
4,795
Replies
17
Views
7,862
Latest Threads
Replies
1
Views
27
Replies
0
Views
190
Replies
1
Views
40
Replies
2
Views
83
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