The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> html validation problems. Will pay.
Cary
post Feb 23 2020, 09:20 PM
Post #1





Group: Members
Posts: 5
Joined: 20-September 19
Member No.: 26,995



When validating, I get this response many times:
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
----------------------------
Example of a line that got the above response:
Line 185, Column 76: document type does not allow element "A" here
… in Canaan from <a href="Lv.html#mblb">1500</a>, <b>Late Bronze-2</b> from <a …
----------------------------
I will undoubtedly have more validation problems.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 03:07 AM