element select validation error <p>I am confused as how to validate this strip of code in HTML5:</p> <pre><code>&lt;select onChange="window.open(this.options[this.selectedIndex].value,'_top')"&gt; &lt;option value=""&gt; Choose Your State or Jurisdiction &lt;/option&gt; &lt;option value="allaw.htm"&gt;Alabama &lt;/option&gt; &lt;option value="aklaw.htm"&gt;Alaska &lt;/option&gt; (and so on for all states) </code></pre> <p>Which gives me a dropdown box of all the states. The error I get in validation is "text not allowed in element select in this context"</p> <p>Could someone please point out how to validate this? Do I change the element select to something else? </p> <p>Thanks a lot!</p> <p>Gordon</p>