Computer Related

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

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.

 

Nerd

I am the Nerd.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Verified by MonsterInsights