McAfee Interview Question

Which takes precedence - HTML elements or HTML IDs?