I did a w3c report and i got a couple of errors.. I'm stuck with these: # Error Line 13, column 11: an attribute specification must start with a name or name token . <http-equiv="dejong" content="text/html; charset=iso-8859-1"> An attribute name (and some attribute values) must start with one of a restricted set of characters. This error usually indicates that you have failed to add a closing quotation mark on a previous attribute value (so the attribute value looks like the start of a new attribute) or have used an attribute that is not defined (usually a typo in a common attribute name). ------------------------------------------------------------------------------ # Error Line 13, column 11: element "HTTP-EQUIV" undefined . <http-equiv="dejong" content="text/html; charset=iso-8859-1"> You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element), * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case. ------------------------------------------------------------------------------ # Error Line 35, column 6: end tag for element "HEAD" which is not open . </head> 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. ------------------------------------------------------------------------------ # Error Line 36, column 17: there is no attribute "LEFTMARGIN" . <body leftmargin=" 0" topmargin="0" marginwidth"0" marginheight="0"> 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. ------------------------------------------------------------------------------ # Error Line 36, column 31: there is no attribute "TOPMARGIN" . <body leftmargin="0" topmargin=" 0" marginwidth"0" marginheight="0"> 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. ------------------------------------------------------------------------------ # Error Line 36, column 46: an attribute value literal can occur in an attribute specification list only after a VI delimiter . <body leftmargin="0" topmargin="0" marginwidth" 0" marginheight="0"> Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value". ------------------------------------------------------------------------------ # Error Line 38, column 40: there is no attribute "HEIGHT" . <table id="Table_01" width="801" height=" 791" border="0" cellpadding="0" cellspa 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. ------------------------------------------------------------------------------ # Error Line 46, column 67: there is no attribute "BACKGROUND" . ...colspan="3" align="right" background=" images/site_02.jpg"><span class="style1 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. With the attribute errors it shows this: " 0" , there is a space.. but in my file there aren't any spaces!!! I hope that there is someone that can tell me what to do with these errors..!! many thanks!
Line 13: There isn't an <http-equiv tag, so presumably you mean <meta http-equiv. "dejong" doesn't mean anything either so far as I know. To declare a content type, use <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> For line 35 it says you either don't have a <head> or have two </head>s (or perhaps you have a <head> that's misplaced above the <html> or the like), that should be easy to fix. Line 36 you're using an IE-only leftmargin attribute. I believe line 38 is also an IE-only attribute though I'm less sure. Line 46 I believe you would solve by using style="background:url('images/site_02.jpg');" for your background instead of the "background" attribute. What document type did you declare? (Though I don't see anything necessarily dependant on that here.)
All the errors give you the answer on what the problem is most of them are cos you have used things that dont exists (leftmargin,top margin,height). These are fixed by using CSS as the message says. One of them is as the error message says you have use the wrong doctype you have used strict when you should have used frameset doctype. As Hoth said you have used the wrong value in your meta tag. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> You should use instead of the one you are. Most of your problems would be solved by putting your styles in CSS where they should be. Unless you have good reason then you should not use frames anyways cos they suck.