Confused regarding the difference between ID selector and Class selector. Some body said that ID can be used only once on a page but Class can be used many times.
Would you please clarify it with some example ?
I use IDs on my pages and i can use the same ID many times like
<td id="abc">
<td id="abc">
etc.
Then why it is said ID can be used only once ?
Thanks very much.
Would you please clarify it with some example ?
I use IDs on my pages and i can use the same ID many times like
<td id="abc">
<td id="abc">
etc.
Then why it is said ID can be used only once ?
Thanks very much.