-
Buenas, estoy intentando validar una pagina web con HTML 4.01 Transitional pero me da estos errores:
Line 2, column 0: no document type declaration; implying ""
The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with the HTML 4.01 Transitional DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document – instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.
El codigo que hay en la linea 2 es el inicio de la etiqueta ¿Como lo soluciono?
Line 8, column 6: end tag for element "HEAD" which is not open
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.
Codigo de linea 8:
–------------------------------------------------------------------ Line 10, column 5: document type does not allow element "BODY" here 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). Codigo linea 10 y sucesivas:
–---------
Solo me quedan estos 3 errores, pero no se que es lo que me falta, o sobra, si necesitais mas codigo os lo paso todo si hace falta
-
The checked page did not contain a document type ("DOCTYPE") declaration.
No has dicho que tipo de documento es.
Por ejemplo, para tu caso deberías empezar el archivo html así:
<title>titulo...</title> ....
-
Line 8, column 6: end tag for element "HEAD" which is not open
Esto se refiere a que falta , no?
-
Bueno he progresado, os comento:
El primer error, esta solucionado.
El segundo, lo solucione quitando el . Sir Orentar, si que tenia el asi que no lo entiendo. Quite los dos, y se fue el error :sAhora, me falta el ultimo, que no hay manera…
Que puede ser? Os pego el codigo entero? -
Bueno, ya he conseguido validarla.. el caso es que ahora me encuentro con el problema de que al subirlo al servidor ( lycos ), este me mete publicidad, y no se valida la pagina web.
No creo que sea muy correcto poner las imagenes de valided, si con la publicidad no lo es, no?
Tampoco es algo imprescindible que aparezca que esta validado, pero bueno, me hacia ilusion jeje