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,345
Replies
19
Views
8,597
Replies
4
Views
2,967
Replies
4
Views
3,143
Newer Threads
Replies
1
Views
2,612
Replies
5
Views
3,291
Replies
5
Views
4,549
Replies
17
Views
7,565

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