View Full Version : HTML Errors in new site
Eiseprod
09-11-2011, 06:08 PM
I have just set up a new site: www.naturalperfectvision.co.uk and it has 9 erros that seem to originate from the same area. Please help me as I have ran out of ideas. Originally, there were 19 but having reduced it to 9, I can not go further. PLEASE HELP ME. The code and erros are the link below. Please thank you for your help
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.naturalperfectvision.co.uk%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=1&user-agent=W3C_Validator%2F1.2#line-289
FrickenTrevor
09-11-2011, 06:21 PM
From w3C "Line 301, column 31: end tag for "script" omitted, but OMITTAG NO was specified"
Theres some weird thing happening with the tracking script at the bottom of the page. Apparently w3C doesn't like how you closed the last few lines of code (lines 297 and on).
Id try removing line 301 and see what that does
Minos
09-12-2011, 04:57 PM
You have HTML outside the HTML tags. (Line 297)
itivae
09-12-2011, 10:32 PM
Yes you have a
<p></p> outside the
</html> tags on line 297.
Butterfly
09-21-2011, 05:39 PM
Did you fix it?
You also have some unclosed <center> tags, some empty <span> and some more.
FrickenTrevor
09-22-2011, 10:54 PM
Re-visiting the link, the current issue is here:
</html> <p><!-- LBS links --><a href="friends-a.php">U</a> <a href="friends-b.php">s</a> <a href="friends-c.php">e</a> <a href="friends-d.php">f</a> <a href="friends-e.php">u</a> <a href="friends-f.php">l</a> <a href="friends-g.php">S</a> <a href="friends-h.php">i</a> <a href="friends-i.php">t</a> <a href="friends-j.php">e</a> s</p>
<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
Put all that BEFORE the html tag, other than that it should be fine.
Just make sure that
<html> is the VERY LAST line of code on your page
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.