Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
05-15-2011, 05:30 PM #1
- Join Date
- Jan 2011
- Thanked 0 Times in 0 Posts
Optimization issue html5 attribute
I am trying to validate this file
in html5 validator
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 ?