i have started validating the pages on my site (i know i should have done this first, but give me a break, its my first website.. :lol: )
im using http://validator.w3.org/ to do the validating and i have 2 issues i need help with.
ok, this is what the begining of my first page looks like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<title>Male Pattern Baldness, Androgenetic Alopecia</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="keywords" CONTENT="Hair loss, Male pattern baldness, Androgenetic Alopecia">
<META NAME="description" CONTENT="Elaborate and up-to-date information about Hair loss and its possible treatment options.">
<link rel="stylesheet" type="text/css" href="external.css"/>
this is the validation error i get:
Line 9, column 6: end tag for element "HEAD" which is not open
Line 11, column 5: document type does not allow element "BODY" here
if i try to move the <link rel="... line above the meta tags i also get this:
Line 6, column 72: document type does not allow element "META" here
...Type" CONTENT="text/html; charset=ISO-8859-1">
apart from that i get another strange error:
Line 18, column 12: there is no attribute "HEIGHT"
i checked on an HTML tutorial and there IS such attribure. furthermore, i even use it a few more times and there no mention of it.
any idea why i get those errors?? :cry: