I am having some confusion with the class & Id. I browsed and got some info regarding the difference between Class & Id in CSS, Class can be used for many tags or elements in the page but Id can be used only once in a page. Instead of doing like that why cant we write the css as inline for that particular tag or element. If we use Id can we use that Id in Javascript, as what we do inorder to get the Element with Id. Please clarify me. I dont know I am correct or wrong.
Regards
Ramanan Kalirajan