HTML HTML Forms Choosing Options Create a Select Menu

Alexandra Velez
Alexandra Velez
Front End Web Development Techdegree Student 9,310 Points

Select Tag within Form Tag, but Exercise Says It's Not

The select tag is within the form tag, but it's not accepting the declaration as within the form tag. I'm confused.

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

    <form action="index.html" method="post">
      <h1>Shirt Order Form</h1
         <select id="color" name="shirt_color"> </select>



2 Answers

Steven Parker
Steven Parker
203,217 Points

The new select element isn't being seen because the closing h1 tag above it got changed.

      <h1>Shirt Order Form</h1>  <!-- closing ">" symbol was missing -->

The red in the syntax coloring is a clue.