McAfee Interview Question

Which takes precedence - HTML IDs or HTML Classes?