HTML HTML Forms Choosing Options Create a Select Menu

Ryan Wikle
Ryan Wikle
3,440 Points

Why is the challenge not accepting my label element?

Why is the challenge not accepting my label element?

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>HTML Forms</title>
  </head>
  <body>

    <form action="index.html" method="post">
      <h1>Shirt Order Form</h1>

      <select id="color" name="shirt_color">
        <label>Shirt Color</label>
        <option value="red">Red</option>
        <option value="yellow">Yellow</option>
        <option value="purple">Purple</option>
        <option value="blue">Blue</option>
        <option value="green">Green</option>
        <option value="orange">Orange</option>

      </select>

    </form>

  </body>
</html>

1 Answer