<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title><![CDATA[CSS Tutorials]]></title><description><![CDATA[Articles]]></description><link>http://www.csstoplist.com/css-tutorials/</link><copyright><![CDATA[Copyright CSS Tutorials]]></copyright><generator>sNews CMS</generator><item><title><![CDATA[Class and ID]]></title><description><![CDATA[In CSS, both Classes and ID's are used to define the sytle of certain elements inside the hypertext document. An ID is a   unique identifier   to an element.

The main difference between Classes and unique Identifiers is that Classes can be used several time in the same hypertext document, whereas an ID can be used only once.

Below is an example of how to use a Class and an ID

Class Example:
  
.image {
border:5px solid #000;
margin-left:50px;
}

ID Example:

#logo {
border:5px solid #000;
margin-left:50px;
}
  ]]></description><pubDate>Fri, 14 Sep 2007 07:40:54 +0000</pubDate><link>http://www.csstoplist.com/css-tutorials/home/class-and-id/</link><guid>http://www.csstoplist.com/css-tutorials/home/class-and-id/</guid></item></channel></rss>