Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me
All your queries regarding CSS will be solved in this forum
  • Page:
  • 1
TOPIC:

ID and Class

ID and Class 1 year, 9 months ago #182

  • sami
  • OFFLINE
  • Junior Boarder
  • Posts: 24
  • Karma: 0
hello,

I wanted to know what is ID and Class in CSS? What is the difference between ID and Class ?

Thanks..
Last Edit: 1 year, 9 months ago by sami.

Re:ID and Class 1 year, 9 months ago #184

  • kate
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0
ID identifies and sets style to one and only one occurrence of an element while class can be attached to any number of elements. By singling out one occurrence of an element the unique value can be declared to said element.
  • Page:
  • 1
Time to create page: 1.35 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download