Give me a place to stand on and I will move the Earth.” Archimedes
A resource for web developers a code snippet library with step by step tutorials.

a resource for web developers...

       

Search Amazon

CSS: Basics tutorial code snippet 4.

 

Up Up to CSS: Basics overview page

 

 

Introducing 'id' and 'class' selectors.

You can assign a 'class' to multiple elements in a page but an 'id' must be unique: it can only occur once in a page.

Names for 'id' and 'class' selectors must not start with a number and by convention start with a lower case letter.

 





Output view



Back to top

 

Bookmark and Share

 

Copyright © 2006-2012 justfigures.co.uk