• Portada
    • Recientes
    • Usuarios
    • Registrarse
    • Conectarse

    Intentando validar una pagina web

    Programado Fijo Cerrado Movido
    Software
    3
    5
    1.5k
    Cargando más mensajes
    • Más antiguo a más nuevo
    • Más nuevo a más antiguo
    • Mayor número de Votos
    Responder
    • Responder como tema
    Accede para responder
    Este tema ha sido borrado. Solo los usuarios que tengan privilegios de administración de temas pueden verlo.
    • PipelineP
      Pipeline
      Última edición por

      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 😉

      1 Respuesta Última respuesta Responder Citar 0
      • josefuJ
        josefu
        Última edición por

        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>
        
        ....
        
        
        Sir OrentarS 1 Respuesta Última respuesta Responder Citar 0
        • Sir OrentarS
          Sir Orentar @josefu
          Última edición por

          Line 8, column 6: end tag for element "HEAD" which is not open

          Esto se refiere a que falta , no?

          PipelineP 1 Respuesta Última respuesta Responder Citar 0
          • PipelineP
            Pipeline @Sir Orentar
            Última edición por

            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 :s

            Ahora, me falta el ultimo, que no hay manera… 😞
            Que puede ser? Os pego el codigo entero?

            PipelineP 1 Respuesta Última respuesta Responder Citar 0
            • PipelineP
              Pipeline @Pipeline
              Última edición por

              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 🙂

              1 Respuesta Última respuesta Responder Citar 0
              • 1 / 1
              • First post
                Last post

              Foreros conectados [Conectados hoy]

              1 usuarios activos (0 miembros e 1 invitados).
              febesin, pAtO,

              Estadísticas de Hardlimit

              Los hardlimitianos han creado un total de 543.3k posts en 62.8k hilos.
              Somos un total de 34.7k miembros registrados.
              ssaybb ha sido nuestro último fichaje.