McAfee interview question

Which takes precedence - HTML elements or HTML IDs?