/    Sign up×
Community /Pin to ProfileBookmark

Help with resolving W3C validation errors

Hi,

I am enquiring if you could assist me in resolving these errors, as l am trying to validate my code using the W3C validator.
Here are the errors:

Below are the results of attempting to parse this document with an SGML parser.

Line 23, column 14: start tag for “LI” omitted, but its declaration does not permit this

<!–s 430–><p><li><a href=”msg/430.html”>xmas meal</a> – <b>Justin</b> <i>22/Ju

&#9993;

Line 27, column 14: document type does not allow element “P” here; assuming missing “LI” start-tag

<!–s 429–><p><li><a href=”msg/429.html”>ideas September to December please ad

&#9993;

Line 39, column 14: document type does not allow element “P” here; assuming missing “LI” start-tag

<!–s 422–><p><li><a href=”msg/422.html”>celbrations thoughout August</a> – <b>

&#9993;

Line 43, column 14: document type does not allow element “P” here; assuming missing “LI” start-tag

<!–s 418–><p><li><a href=”msg/418.html”>canal weekend</a> – <b>Dan</b> <i>18/J

&#9993;

Line 47, column 14: document type does not allow element “P” here; assuming missing “LI” start-tag

<!–s 417–><p><li><a href=”msg/417.html”>grease Thursday 11th</a> – <b>Dan</b>

&#9993;

Line 51, column 14: document type does not allow element “P” here; assuming missing “LI” start-tag

<!–s 416–><p><li><a href=”msg/416.html”>Chapel @ salisbury</a> – <b>Steve Awes

&#9993;

Line 59, column 14: document type does not allow element “P” here; assuming missing “LI” start-tag

<!–s 396–><p><li><a href=”msg/396.html”>linedancer</a> – <b>Ruby Dancingmoon</

&#9993;

Line 62, column 4: end tag for element “LI” which is not open

</li><!–k 288–>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should probably read this FAQ entry.

&#9993;

Line 63, column 4: end tag for element “LI” which is not open

</li><!–k 280–>

&#9993;

Line 64, column 4: end tag for element “LI” which is not open

</li><!–k 242–>

&#9993;

Line 65, column 4: end tag for element “LI” which is not open

</li><!–k 238–>

&#9993;

Line 66, column 4: end tag for element “LI” which is not open

</li><!–k 211–>

&#9993;

Line 67, column 13: character data is not allowed here

<!–o 218–> (0)

You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p> or forgetting to quote an attribute value (where characters such as “%” and “/” are common, but cannot appear without surrounding quotes).

&#9993;

Line 68, column 4: end tag for element “LI” which is not open

</li><!–k 190–>

&#9993;

Line 70, column 4: end tag for element “LI” which is not open

</li><!–k 181–>

&#9993;

Line 71, column 4: end tag for element “LI” which is not open

</li><!–k 175–>

&#9993;

Line 72, column 4: end tag for element “LI” which is not open

</li><!–k 103–>

&#9993;

Line 73, column 4: end tag for element “LI” which is not open

</li><!–k 56–>

&#9993;

Line 74, column 4: end tag for element “LI” which is not open

</li><!–k 25–>

&#9993;

Line 76, column 4: end tag for element “LI” which is not open

</li><!–k 4–>

&#9993;

Line 77, column 4: end tag for element “LI” which is not open

</li><!–k 2–>

&#9993;

Line 78, column 4: end tag for element “LI” which is not open

</li><!–k 1–>

&#9993;

Line 88, column 43: there is no attribute “NAME”

<form method=post action=”mboard.php” name=”form”>

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the “Strict” document type with a document that uses frames (e.g. you must use the “Transitional” document type to get the “target” attribute), or by using vendor proprietary extensions such as “marginheight” (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJul 26.2005 — It's hard to be sure about all those without seeing the source code, but it looks like a lot of them have to do with apparently wrapping list items inside of paragraph tags.
<i>
</i>&lt;ul&gt;
&lt;li&gt;Do it like this&lt;/li&gt;
&lt;li&gt;And like this&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;p&gt;&lt;li&gt;Do NOT do it like this&lt;/li&gt;&lt;/p&gt;
&lt;p&gt;&lt;li&gt;Nor like this&lt;/li&gt;&lt;/p&gt;
&lt;/ul&gt;
Copy linkTweet thisAlerts:
@clubsotonauthorJul 26.2005 — It is to big to put on forum but if you visit www.phpjunkyard you can download the code from there.

I would appreciate any help you can give me , as the site l got the code from could not help.

Justin.
Copy linkTweet thisAlerts:
@ray326Jul 27.2005 — The first thing you need is obviously a good dose of HTML how-to. Check the Castro link in my sig.
×

Success!

Help @clubsoton spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...