Jump to Navigation

Validating XHTML pages

2 replies [Last post]
Anonymous

If I try and validate my site pages, the Opentracker script generates a number or errors that seem to be caused by the ampersand. Does anyone know if's OK to change this to - &

Anonymous

Hello Keith,

Thank you for posting.

In order to clarify: there is no ampersand in the javascript itself (unless corrupted).

Can you elaborate on how the script is generating errors?

David Oliva (not verified)

Hi can you please help I get 2 errors when I try to validate my site pages, have I got the correct code please advice

1. in tag: script the following required attributes are missing: type [XHTML 1.0 transitonal]
This error points to this part of the code: <script src="http://script.opentracker.net/?site=www.london-photocopier-rentals.co.uk"></script>
 2. Nesing error, "img" should be closed before closing "a"[XHTML 1.0 transitonal]
This error points to </a> in the code

Code used below:
<!-- OPENTRACKER HTML START -->
<script src="http://script.opentracker.net/?site=www.london-photocopier-rentals.co.uk"></script>
<noscript><a href="http://www.opentracker.net" target="_blank"><img src="http://img.opentracker.net/?cmd=nojs&site=www.london-photocopier-rentals.co.uk" alt="web stats" border="0"> </a> </noscript> 

<!-- OPENTRACKER HTML END --> 

Many Thanks

David