McAfee interview question

Which takes precedence - HTML IDs or HTML Classes?