B. The link text must match the section heading exactly.
C. The section tag cannot have an id.
D. The id in the section does not match the href value.
Solution
Step 1: Compare href and id values
The link uses href="#services" but the section has id="service" (missing 's').
Step 2: Understand matching requirement
For the link to work, the href must exactly match the target element's id.
Final Answer:
The id in the section does not match the href value. -> Option D
Quick Check:
href and id must match exactly [OK]
Hint: Check href and id spellings match exactly [OK]
Common Mistakes:
Forgetting the # in href
Using wrong or mismatched id names
Thinking link text affects the jump
5. You want to create a navigation menu that links to three sections: Home, About, and Contact. Which HTML snippet correctly sets up the links and sections using IDs?