Champs,
I have following errors now after validating by w3.org
My first two lines are of application is:-
And the errors are:-
Line 1, Column 121: DTD did not contain element declaration for
document type name
…/xhtml1/DTD/xhtml1-transitional.dtd">
✉
A DOCTYPE declares the version of the language used, as well as what the
root (top) element of your document will be. For example, if the top
element of your document is , the DOCTYPE declaration will look
like: “<!DOCTYPE html”.
In most cases, it is safer not to type or edit the DOCTYPE declaration
at all, and preferable to let a tool include it, or copy and paste it
from a trusted list of DTDs.
Error Line 2, Column 67: document type does not allow element “html”
here
…n" xmlns=“XHTML namespace” lang=“en”>
✉
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).
Error Line 4, Column 70: end tag for “meta” omitted, but OMITTAG NO
was specified
… content="text/html; charset=UTF-…
✉
You may have neglected to close an element, or perhaps you meant to
“self-close” an element, that is, ending it with “/>” instead of “>”.
Info Line 4, Column 2: start tag was here
---------------
There are also some more errors for label.
In source code … I mean when i view page source labels are of type:-
td>
FRCA
And this code is also giving me error… The error is-
reference to non-existent ID “FRCA”
<label for="FRCA">
✉
This error can be triggered by:
* A non-existent input, select or textarea element
* A missing id attribute
* A typographical error in the id attribute
Try to check the spelling and case of the id you are referring to.
Can you guyz tell me why these errors are coming …
Martijn van Rheenen wrote:
2009/9/24 Hemant B. [email protected]: