PDA

View Full Version : Help - Html5 validation javascript option



CoolKay
Aug 1st, 2011, 03:43 PM
On all my html 5 pages of http://www.countyfairgrounds.net I have a drop down javascript menu for selecting a state. The thing has worked for years fine. However in switching to html5 the validator will not validate it. The are saying the option tag is obsolete. First I don't java, I do html5 and css3 currently. Ca anyonepoint me to a script dropdown that I can cut and paste - that will validate?

Philip M
Aug 1st, 2011, 04:47 PM
I don't know why you think that the <option> tag is obsolete.

http://www.w3schools.com/html5/tag_option.asp

Only the most up-to-date browsers support HTML5, and even then support is only partial.

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

bullant
Aug 2nd, 2011, 02:14 AM
I do html5 and css3 currently.

Why are you using html5 and css3 when at least html5 is not finished yet and won't be officially released by the W3C for quite a while yet? Browser support for both html5 and css3 varies among the major browser manufacturers.

I assume you are aware that the officially released version of html5 will most probably be different, at least in parts, to what it is today.

When you read down the 20 validation errors the w3c validator currently spits out for your link you would have read:


The validator checked your document with an experimental feature: HTML5 Conformance Checker. This feature has been made available for your convenience, but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies