Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Ajax not working in firefox when DOCTYPE is added


mini - 4:38 am on Dec 22, 2008 (gmt 0)


For a code to be W3C compliant, it must have the DOCTYPE. If I don't mention the DOCTYPE, the validator gives 9 errors and 62 warnings.

Errors:

Line 1, Column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".
Line 5, Column 252: document type does not allow element "META" here.
Line 6, Column 161: document type does not allow element "META" here.
Line 7, Column 109: document type does not allow element "META" here.
Line 8, Column 71: document type does not allow element "META" here.
Line 9, Column 22: document type does not allow element "STYLE" here.
Line 19, Column 56: document type does not allow element "LINK" here.
Line 56, Column 6: end tag for element "HEAD" which is not open.
Line 57, Column 5: document type does not allow element "BODY" here.

One of the warnings:
Line 4, Column 46: NET-enabling start-tag requires SHORTTAG YES.


Thread source:: http://www.webmasterworld.com/javascript/3811826.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com