ID's are meant to use for identifying elements uniquely, they will work as far as CSS goes, but when JavaScript comes into action, you will understand why not to do so.
CSS just selects the element, when you write a matching selector, it has nothing to do with valid or invalid HTML you write, the job of CSS is to apply styles as per the selector defined. For example
Demo INVALID HTML, DO NOT USE IT (only for demonstration purpose)
Hence, ID
's should be unique,, use class
if you want to use the same properties on multiple elements.
From W3C
This attribute assigns a name to an element. This name must be unique in a document.
Side tip: Use _
instead of spaces should be href="ID & Classes.css"
href="IDs_Classes.css"
.
Here's a good read, on why not to do that (So won't repeat here)