Questions about Step 12: Building a Quiz

Hello!
Wondering if someone could explain to me why the anchors are needed in the list creation for step 12? I’ll admit that I did some searching and skipped ahead to find a code with the correct answer, but I’m not grasping why it needs to be done this way, instead of just a regular

  • tag. Can anyone give me insight? Thanks so much!

  • for reference:

      <h1>HTML/CSS Quiz</h1>
      <nav>
        <ul>
          <li><a href="student-information">INFO</a></li>
          <li><a href="HTML-information">HTML</a></li>
          <li><a href="CSS-information">CSS</a></li>
          </ul>
      </nav>
    

    The anchors serve to link the given text between them to the particular url address to which the link leads when clicking on that text.

    HTML lists allow web developers to group a set of related items in lists .

    If this is not an answer to your question, disregard it.

    This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.