IDs are for targeting one particular element of a document, you can't have two elements with the same ID. you can however have as many elements with the same class as you like.
Understanding how browsers parse CSS and render websites is an important first step towards writing more efficient code. In this first piece on efficient CSS, we look at selectors, how the browser ...