中国开发网: 论坛: 程序员情感CBD: 贴子 310358
dead_lee: hehe, 把论坛校验了下
W3C QA Markup Validation Service
v0.7.2

* Skip Navigation | Home
* About...
* News
* Docs
* Help & FAQ
* Feedback

Jump To:

* Results

Result: Failed validation, 8 errors
Address:
Encoding: gb2312
Doctype: (no Doctype found)
Revalidate With Options
:
Show Source Show Outline
Show Parse Tree ...no attributes
Validate error pages Verbose Output

Help on the options is available.

No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.

The DOCTYPE Declaration was not recognized or is missing. This probably means that the Formal Public Identifier contains a spelling error, or that the Declaration is not using correct syntax. Validation has been performed using a default "fallback" Document Type Definition that closely resembles "HTML 4.01 Transitional", but the document will not be Valid until you have corrected this problem with the DOCTYPE Declaration.

Learn how to add a doctype to your document from our FAQ.

This page is not Valid (no Doctype found)!

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

1. Error Line 3 column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".

<html>

The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.

&#9993;
2. Error Line 10 column 27: there is no attribute "HEIGHT".

<table width="760" height="15" border="0" align="center" cellpadding="2" cellsp

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.

&#9993;
3. Error Line 21 column 43: there is no attribute "BORDERCOLOR".

<td height="200" valign="top" bordercolor="#000080" bgcolor="#ffffff">

&#9993;
4. Error Line 54 column 7: there is no attribute "WIDTH".

width="60" height="20" border="0">

&#9993;
5. Error Line 54 column 19: there is no attribute "HEIGHT".

width="60" height="20" border="0">

&#9993;
6. Error Line 54 column 31: there is no attribute "BORDER".

width="60" height="20" border="0">

&#9993;
7. Error Line 87 column 38: end tag for element "A" which is not open.

有事请联系: notemper2x(at)cndev(dot)org</a></td>

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;
8. Error Line 96 column 30: required attribute "TYPE" not specified.

<script language="JavaScript">

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

&#9993;

Valid XHTML 1.0! The W3C Validator Team

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录