See the following code below:
When validating, I get the following errors:HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Title</title> <link href="../../css/default.css" rel="stylesheet" type="text/css" /> <link href="../../css/subpage.css" rel="stylesheet" type="text/css" /> <link href="../../css/nav.css" rel="stylesheet" type="text/css" /> <link href="../../css/headers.css" rel="stylesheet" type="text/css" /> <link href="../../sifr/css/sifr.css" rel="stylesheet" type="text/css" /> <!-- Replaces transparent PNGs with GIFs for IE6 --> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="/css/ie-png.css" /> <![endif]--> <script src="validatescrips.js" type="text/javascript"></script> <script src="../../js/subnav.js" type="text/javascript"></script> <script src="../../js/sf-focus.js" type="text/javascript"></script> <script src="../../sifr/js/sifr.js" type="text/javascript"></script> <script src="../../sifr/js/sifr-config.js" type="text/javascript"></script> <script src="../../js/jquery.js" type="text/javascript"></script> <script src="../../js/pie-chart.js" type="text/javascript"></script> <script src="../../js/bookmark.js" type="text/javascript"></script> </head> <body onload="startList()"> <div id="header"> <div id="headerins"> <div id="headercontent"> <div id="logo"><a href="#">Logo</a></div> <div id="nav"> <ul id="menu"> <li id="home"><a href="#">Link</a></li> <li id="widgets"><a href="#">Link</a></li> <li id="why"><a href="#">Link</a> <ul class="sub-why"><li><ul> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul></li></ul> </li> <li id="help"><a href="#">Link</a> <ul class="sub-help"><li><ul> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul></li></ul> </li> <li id="contact"><a href="#">Contact Us</a></li> </ul> </div> </div> </div> </div> <div id="container"> <div id="containerins"> <div id="main"> <div id="mainins"> <div id="maincontent"> <div id="subheader"> <div id="breadcrumb"> <ul> <li><a href="#">Homepage</a></li> <li><a href="#">Help</a></li> <li>Support</li> <li class="last"><a href="#">Get Your Free Quotes Now!</a></li> </ul> </div> </div> <div id="content-left"> <h1>Support</h1> <h2>Fill out the form below and we'll get back to you</h2> <p>If you can't find an answer to your question in our <a href="#">FAQ</a> section, simply fill out the form below and we'll get back to as soon as we possibly can. <strong>Please Note:</strong> All fields are required.</p> <form id="support" action="#" method="post" onsubmit="return(ValidateFields());"> <fieldset id="hidden"> <input type="hidden" name="recipient" value="mail@mail.com" /> <input type="hidden" name="redirect" value="success.htm" /> <input type="hidden" name="subject" value="Email Enquiry" /> </fieldset> <div id="supportform"> <div class="formbox"> <div class="formboxins"> <fieldset> <legend><span id="your-enquiry">Your Enquiry</span></legend> <div id="error"> </div> <span class="hr"></span> <label for="nature"><span>Nature of your enquiry:</span> <select name="nature" id="nature"> <option value='NULL'>Please select...</option><option value='Site Feedback'>Site Feedback</option><option value='Technical Support'>Technical Support</option><option value='Investment / Business Development'>Investment / Business Development</option><option value='Media Enquiry'>Media Enquiry</option><option value='General Enquiry'>General Enquiry</option></select> </label> <label for="realname"><span>Your Name: </span> <input type="text" size="30" id="realname" name="realname" value="" /> </label> <label for="email"><span>Email: </span> <input type="text" size="30" id="email" name="email" value="" /> </label> <label for="enquiry"><br /><span>How can we help: </span> <textarea name="enquiry" id="enquiry" cols="65" rows="8"></textarea></label> </fieldset> </div> </div> </div> <div id="buttons"><input type="image" name="send" id="send" value="" /> </div> </form> <div id="bottomlinks"> <ul> <li class="bookmark"><a href="#">Bookmark this page</a></li> <li class="homepage"><a href="#">Back to the homepage</a></li> </ul> </div> </div> <div id="content-right"> <div id="rightnav"> <div id="rightnavins"> <ul> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="current"><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> <div id="nav-features"> <ul> <li id="feature-one"><a href="#"><strong>Link</strong></a></li> <li id="feature-two"><a href="#">Link</a></li> <li id="feature-three"><a href="#">Link</a></li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> <div id="footer"> <div id="footerins"> <div id="privacy"> <h4 id="combined">Test</h4> <p>Text</p> </div> <div id="footnav"> <ul> <li id="foot-home"><a href="#">Link</a></li> <li id="foot-widgets"><a href="#">Link</a></li> <li id="foot-why"><a href="#">Link</a></li> <li id="foot-help"><a href="#">Link</a></li> <li id="foot-contact"><a href="#">Link</a></li> </ul> </div> <div id="cheap-widgets"></div> </div> </div> <div id="lowerfooter"> <div id="lowerfooterins">Copyright Message<br /> Valid <a href="#">CSS</a></div> </div> </div> </body> </html> </body> </html>
Line 165, Column 8: end tag for element "body" which is not open
Line 166, Column 8: end tag for element "html" which is not open
Line 165, Column 1: XML Parsing Error: Extra content at the end of the document
I can't for the life of me work out what's wrong - any ideas?







Bookmarks