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
I think you can't do it because Id is unique you have to use it for one element . You can use class for the purpose