Jump to content
SLiM

ONLINE VALIDATOR

Recommended Posts

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

wotsValidate.gif

wotsCode.gif

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...