Nerd or Turd Header
RSS

 

Bad value for attribute “href” on element “a”: Illegal character in query: space is not allowed. [SOLVED]

12 Mar
Share Button

If you have received the following W3C validation error then this will help you solve the issue.

Line 290: Bad value for attribute “href” on element “a”: Illegal character in query: space is not allowed.

onclick=”javascript:window.open(this.href, ”, ‘menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600’);return false;”>

Remove the 2 spaces in the code:

this.href, ”, ‘menubar=no,toolbar

The code should now read:

this.href,”,’menubar=no,toolbar

The issue will now be resolved.

 

Share Button
 

Tags: , , , , , , , ,

Leave a Reply