I am trying to validate this file
in html5 validator
http://www.countyfairgrounds.net/findaneventtest.php

The validator is throwing out the script code (drop down box in the top featured section) that has the states, where you pick one and click and it goes to that state. I did not write this script. Can you tell me how to fix it so it will pass the validator? Since there are 50 states - its saying it 50 times.

The name attribute on the option element is obsolete. Use the id attribute instead.
<option name="AR">AR</option> <option name="AZ">AZ</option>

How do I fix this ?