SLiM Posted April 2, 2017 Share Posted April 2, 2017 I use the W3C validator religously but is there a bug in it? When I check my code it displays a "duplicate id" error. However, a duplicate id is required to connect the audio tag and javascript. I've uploaded the validator screen capture and a portion of my offending HTML5 and javascript code. Thoughts anyone... SLiM Link to comment Share on other sites More sharing options...
dsonesuk Posted April 2, 2017 Share Posted April 2, 2017 Duplicate id have never EVER! been allowed, so there is no bug, your code is incorrect and it is rightly telling you so. An id reference should be unique within a page, if you want more than one you should use class names instead, or give the offending line a different id and refer to that. Link to comment Share on other sites More sharing options...
SLiM Posted April 3, 2017 Author Share Posted April 3, 2017 Well, call me stupid ! *o) The ID in the anchor tags wasn't necessary so why would I put one there? Just having a senior moment the other day I guess ! Thanks... SLiM Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now