Validator giving me guff

liunx

Guest
I am trying to get a page to validate correctly and it keeps giving me the following errors and i don't know why. Maybe someone else has more experience with this than me.<br />
<br />
errors:<br />
___________________________________<br />
<br />
Line 4, column 5: document type does not allow element "HTML" here (explain...). <br />
<HTML><br />
^<br />
Line 71, column 8: "HEAD" not finished but document ended <br />
</HT...<br />
^<br />
Line 71, column 8: "HTML" not finished but document ended <br />
</HT...<br />
^<br />
<br />
<br />
<!-- m --><a class="postlink" href="http://www.dirklancedesign.com/indexbeta.shtml">http://www.dirklancedesign.com/indexbeta.shtml</a><!-- m --><br />
<br />
<br />
<br />
<br />
thanks<!--content-->Your link doesn't work!? I get a 404 Object Not Found<!--content-->oops i transposed the words.<br />
<br />
heres the good link<br />
<br />
<!-- m --><a class="postlink" href="http://www.dirklancedesign.com/betaindex.shtml">http://www.dirklancedesign.com/betaindex.shtml</a><!-- m --><!--content-->Totally not sure about this but have you tried putting it your <meta http..> under <head>?<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br />
<br />
<html><br />
<head><br />
<title>Dirklance Design....Recomended by</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
<br />
<meta NAME="Author" CONTENT="?"><br />
<meta NAME="Keywords" CONTENT="?"><br />
<meta NAME="Description" CONTENT="?"><br />
<link REL="stylesheet" TYPE="text/css" HREF=http://www.htmlforums.com/archive/index.php/"styles/mystyle.css"><br />
<style type="text/css"><br />
<!--<br />
a:link {text-decoration: none;color:#cccccc;}<br />
a:visited {text-decoration: none; color:#cccccc;}<br />
a:active {text-decoration: none;}<br />
a:hover {text-decoration: none; color:#ff9900;}<br />
--><br />
</style><br />
</head><br />
<br />
.....<br />
<br />
I'm pretty sure that's where it's suppose to go! But then again.... I could be wrong! :(<!--content-->that twas it. great job.<br />
<br />
thanks much karinne<!--content-->Woo hooo.... great! No prob!:rocker:<!--content-->Heh, not difficult to get valid code (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.dirklancedesign.com%2Fbetaindex.shtml&charset=%28detect+automatically%29&doctype=Inline&ss=1&sp=1&outline=1&verbose=1">http://validator.w3.org/check?uri=http% ... &verbose=1</a><!-- m -->), and valid CSS (<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.dirklancedesign.com%2Fbetaindex.shtml&warning=1&profile=css2">http://jigsaw.w3.org/css-validator/vali ... ofile=css2</a><!-- m -->).<br />
<br />
This doesn't guarantee that your code will work exactly the same in all browsers, especially the CSS, but it should give less problems than code that doesn't follow any rules at all.<!--content-->
 
Back
Top