An id is primarily targeted for javascript, in my mind.
It allows you to put a tag on a particular element of the page, to access it later and alter it state dynamically.
Not too, although I don't think many people knows that, that you can put multiples classes on an element:
HTML Code:
<div class="bold noPadding red">
sgdgf
</div>
will apply all the 3 classes, in the order they are specified, on the content of the div.
On contrario, an element cannot have multiples Id.
__________________
Listen to the ducky: "This is awesome!!!"
|