Can multiple HTML elements have the same ID if they\'re of different element types? Is a scenario like this valid? Eg:
div#foo span#foo a#foo
No.
Element IDs should be unique within the entire document.