November 7, 200818 yr HTML # Error Line 25, Column 8: "DOCTYPE" declaration not allowed in instance. </div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www'>http://www ✉ # Error Line 26, Column 42: document type does not allow element "html" here. <html xmlns="http://www.w3.org/1999/xhtml"> ✉ 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 51, Column 48: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag. <tr><td class="float"><p align="center"><table > ✉ The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element. One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). # Error Line 64, Column 4: end tag for "p" omitted, but OMITTAG NO was specified. </td></tr> ✉ 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 51, Column 22: start tag was here. <tr><td class="float"><p align="center"><table > # Error Line 72, Column 127: required attribute "alt" not specified. … height="75" hspace="2" align="left"/>What Do You Want From Me<br /> ✉ 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>. # Error Line 87, Column 83: end tag for element "a" which is not open. …th="92" height="128" border="0" /></a></p></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 occurred in a script section of your document, you should probably read this FAQ entry. # Error Line 100, Column 7: end tag for element "table" which is not open. </table> ✉ 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 occurred in a script section of your document, you should probably read this FAQ entry. # Error Line 109, Column 6: end tag for "div" omitted, but OMITTAG NO was specified. </body> ✉ 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 15, Column 0: start tag was here. <div class="wrapper"> <div id="header"><img src="images/orfehsource1.png" width= # Error Line 25, Column 7: XML Parsing Error: StartTag: invalid element name. </div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www ✉ # Error Line 64, Column 5: XML Parsing Error: Opening and ending tag mismatch: p line 51 and td. </td></tr> ✉ # Error Line 64, Column 10: XML Parsing Error: Opening and ending tag mismatch: td line 51 and tr. </td></tr> ✉ # Error Line 65, Column 8: XML Parsing Error: Opening and ending tag mismatch: tr line 51 and table. </table> ✉ # Error Line 87, Column > 80: XML Parsing Error: Opening and ending tag mismatch: p line 86 and a. …width="92" height="128" border="0" /></a></p></td>… ✉ # Error Line 87, Column > 80: XML Parsing Error: Opening and ending tag mismatch: td line 86 and p. …width="92" height="128" border="0" /></a></p></td>… ✉ # Error Line 87, Column > 80: XML Parsing Error: Opening and ending tag mismatch: tr line 85 and td. …width="92" height="128" border="0" /></a></p></td>… ✉ # Error Line 89, Column 7: XML Parsing Error: Opening and ending tag mismatch: table line 84 and tr. </tr> ✉ # Error Line 96, Column 8: XML Parsing Error: Opening and ending tag mismatch: td line 84 and table. </table> ✉ # Error Line 97, Column 5: XML Parsing Error: Opening and ending tag mismatch: tr line 84 and td. </td> ✉ # Error Line 98, Column 5: XML Parsing Error: Opening and ending tag mismatch: table line 80 and tr. </tr> ✉ # Error Line 100, Column 8: XML Parsing Error: Opening and ending tag mismatch: div line 46 and table. </table> ✉ # Error Line 101, Column 6: XML Parsing Error: Opening and ending tag mismatch: body line 45 and div. </div> ✉ # Error Line 103, Column 7: XML Parsing Error: Opening and ending tag mismatch: html line 26 and body. </body> ✉ # Error Line 104, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 21 and html. </html> CSS URI : http://www.orfeh.diva-host.com/css/style.css 54 Parse error - Unrecognized } 91 .content Parse Error (line 60) { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #d4c7c1; padding-right: 5px; padding-left: 5px; font-size: 10px; padding-bottom: 5px; color: #ce673a; line-height: 13px; padding-top: 5px; font-family: Arial; background-color: #d8cdc7; text-align: justify; } 328 a:hover Parse Error #sidebar { width:426px; height:492px; float:right; background-color: #D9CFDE; } 330 text-decoration Parse Error text-decoration: underline; 332 color Parse Error color: #6772a7; 334 font-weight Parse Error font-weight: normal; 336 font-weight Parse error - Unrecognized } The news section with is part of contentmain and an include seems to be at the top of the source page so I get the doctype info twice.
November 7, 200818 yr First thing you need to fix is the multiple doctypes. You may find that half of these disappear once that's fixed, you might also find a load of new errors too... lol.
November 7, 200818 yr Author I sorted out the doctype but have 63 Errors, 2 warnings now http://validator.w3.org/check?verbose=1&am...iva-host.com%2F
November 7, 200818 yr If you go through the errors one at a time and check the code it's referring to, you will prob find a few small errors like missing end tag for your paragraph. What I also see is incorrect nesting of your tags. For example if you open a <td> tag then a <p> when you close you keep the order </p> then </td> I haven't looked through it all but i reacon that may get rid of a large portion of your errors. Also I noticed you haven't included a content language in your head section with your charset eg. <meta http-equiv="Content-Language" content="en-gb" /> Hope some of this helps. Edit: Line 24 you are missing a quote around your align="justify"<span ...which has mucked up your span also....it's like dominoes. Now down to 50 errors.. Down to 11 now...will post the correct file when done Final edit: Ok 1 error for you to sort - you need to specify on line 65 an alt for your image. Attached corrected html file. Good luck and hope this helped Re your css; in line 15 you have (line 60) which either needs to go or be 'commented out' like this /* line 60 */
Create an account or sign in to comment