Results 1 to 6 of 6

Thread: HTML Errors in new site

  1. #1
    Join Date
    Sep 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTML Errors in new site

    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=ht...2F1.2#line-289
    Last edited by djr33; 09-11-2011 at 10:14 PM.

  2. #2
    Join Date
    Aug 2009
    Location
    utf-8
    Posts
    205
    Thanks
    4
    Thanked 7 Times in 7 Posts

    Default

    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
    Last edited by FrickenTrevor; 09-11-2011 at 06:28 PM.

  3. #3
    Join Date
    Dec 2004
    Posts
    177
    Thanks
    0
    Thanked 18 Times in 17 Posts

    Default

    You have HTML outside the HTML tags. (Line 297)
    Verzeihung!

  4. #4
    Join Date
    Nov 2009
    Posts
    107
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Default

    Yes you have a
    HTML Code:
    <p></p>
    outside the
    HTML Code:
    </html>
    tags on line 297.

  5. #5
    Join Date
    Mar 2007
    Location
    Dublin, Ireland
    Posts
    23
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Did you fix it?

    You also have some unclosed <center> tags, some empty <span> and some more.

  6. #6
    Join Date
    Aug 2009
    Location
    utf-8
    Posts
    205
    Thanks
    4
    Thanked 7 Times in 7 Posts

    Default

    Re-visiting the link, the current issue is here:

    Code:
    </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
    Code:
    <html>
    is the VERY LAST line of code on your page

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •