SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2011
    Location
    London UK
    Posts
    495
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Mysterious validation error

    After the latest round of updates, I ran the lot through validator.w3.org.
    First it came up with a missing </div> at the end of the page. When I added that, I got the following error.


    1. Line 280, Column 1: unclosed end-tag requires SHORTTAG YES
      </body>
      The construct </foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo that you will want to fix. If you really want to use shorttags, be aware that they are not well implemented by browsers.



    However, there is a <body> in the line directly under </head>, and a </body> directly above </html> at the bottom of the page.
    No typos that I can see, and I have even deleted both tags and retyped them. Nada.
    ???????

    Where does the error message in the validator stem from?

  2. #2
    SitePoint Evangelist
    Join Date
    Jun 2011
    Location
    London UK
    Posts
    495
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Got it. Missing ">" on another tag.


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
  •