Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Problema include e html di troppo sulla pagina

    ciao a tutti ho incluso nella mia pagina due pagine che naturalmente hanno i tag html e head
    quando vado a validare la pagina mi da due errori che dicono che ci son due html di troppo, ma se io li tolgo non mi funzionanao più le pagine che introduco come faccio?

    ecco gli errori:


    document type does not allow element "HTML" here
    <html>

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

  2. #2
    evvaiii ho risolto da solo dovevo togliere i tag html e head

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.