html validation problems. Will pay. |
html validation problems. Will pay. |
Cary |
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. |
pandy |
Feb 23 2020, 09:23 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,734 Joined: 9-August 06 Member No.: 6 |
If you post the link to a sample document or paste the markup in your post we will help you. For free. The short snip above isn't enough since it doesn't show the context for the A.
I would also like to know what tool that gave you that error message. It's more verbose than the output from the validators I know of. |
Cary |
Feb 24 2020, 08:08 PM
Post
#3
|
Group: Members Posts: 5 Joined: 20-September 19 Member No.: 26,995 |
[quote name='pandy' date='Feb 23 2020, 09:23 PM' post='138424']
pandy, Thank you for responding. That particular page is not on my site yet, because I want to get it validated before uploading it (along with about 60 similar pages). Here is a sample of the type of page I'm currently trying to validate: https://www.sanityquest.com/time/5c-3c/Ital.html This "World Chronology" section of my site covers 2000BCE to 100BCE. The 60 or so pages that remain to be uploaded are for 100BCE to 0BCE. The tool that gave me the response is: http://validator.w3.org/ This post has been edited by Cary: Feb 24 2020, 08:13 PM |
Lo-Fi Version | Time is now: 27th May 2024 - 07:11 AM |