Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/01/2005, 04:56
disclo
 
Fecha de Ingreso: enero-2005
Mensajes: 2
Antigüedad: 19 años, 10 meses
Puntos: 0
Pregunta Por que falla el validador???

Buenos dias, soy nuevo en esto del diseño de paginas web. En mi primer intento ya tengo problemas . En fin vamos al grano mi codigo fuente es:

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>GRUPO DE VIBROACÚSTICA DE LA UNIVERSIDAD DE ZARAGOZA</TITLE>
<META name="author" content="Sergio Carnicero Pérez">
<META name="keywords" content="Sergio">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META http-equiv=Content-Script-Type content=text/javascript>
<META http-equiv=Content-Style-Type content=text/css>
<LINK href="css/estilo.css" type=text/css rel=stylesheet>
<SCRIPT src="js/java.js" type=text/javascript></SCRIPT>
</HEAD>


Y cuando lo intento validar me da estos fallos:

Line 10, column 50: document type does not allow element "META" here

<META http-equiv=Content-Style-Type content=text/css>

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).



Line 11, column 39: document type does not allow element "LINK" here

<LINK href="css/estilo.css" type=text/css rel=stylesheet>



Line 13, column 7: 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.



Line 15, column 5: document type does not allow element "BODY" here

<BODY>



En fin que ya no se que cambiar, si alguien me puede ayudar estaria muy agradecido

GRACIAS POR ANTICIPADO