How to remove Validation error with Alexa PageRank Widget Box

If you added the Alexa Page rank widget box to your website and might have noticed that now if you try to validate your website HTML source code, it gives validation errors.

Such as:

Error Line 608, Column 84: there is no attribute “type”
… <div><SCRIPT type='text/javascript' language='JavaScript' …

The code provided by Alexa looks some what like this:

<SCRIPT type=’text/javascript’ language=’JavaScript’ src=’’></SCRIPT>

To remove the validation errors you need to edit the widget code to have small letters only, like:

<script type=’text/javascript’ language=’JavaScript’ src=’’></script>

It will remove the errors caused by the alexa page rank widget on your website upon validation from w3c html validator.

hire best wordpress php css developer
Need Help? Hire me now!
I can help you in anything related to webdevelopment, including: HTML, CSS, PHP & MySql, WordPress (plugins & themes development, others), regular expressions, server management, etc.

4 comments on “How to remove Validation error with Alexa PageRank Widget Box

Leave a Reply

Your email address will not be published.