Champs, I have following errors now after validating by w3.org :) My first two lines are of application is:- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
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 <html>, 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="http://www.w3.org/1999/xhtml" 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 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> --------------- There are also some more errors for label. In source code .. I mean when i view page source labels are of type:- td> <div class="one_element_div_qual" id="one_element_div_qual_37" onclick="changeBackgroundColor(this.id);"> <label for="FRCA"> <input type="checkbox" id="qual_checkbox_37" name="qualification_ids[]" value="37" /> FRCA </label> </div> 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 Bhargava <[email protected]>: -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

