Visualizzazione dei risultati da 1 a 9 su 9

Discussione: Problema con Validator

  1. #1
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    1,742

    Problema con Validator

    Salve a tutti sto effettuando il validator ad una pagina...
    Da 400 errori sono sceso a 12 che non capisco quale sia il problema..
    eccoli :

    codice:
    Below are the results of attempting to parse this document with an SGML parser. 
    
    Line 130, column 20: there is no attribute "SRC"
    
    <IFRAME SRC="http://www.sonnerie.net/external/DrtTop/get.bestcat.php?t=1
    
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). 
    
    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. 
    
    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. 
    
    ✉ 
    
    Line 130, column 197: there is no attribute "WIDTH"
    
    ...=0&amp;t_wi=100%&amp;t_he=20%" WIDTH="320" HEIGHT="250" BORDER="0" MARGINWIDT
    
    ✉ 
    
    Line 130, column 210: there is no attribute "HEIGHT"
    
    ...00%&amp;t_he=20%" WIDTH="320" HEIGHT="250" BORDER="0" MARGINWIDTH="0" MARGINH
    
    ✉ 
    
    Line 130, column 223: there is no attribute "BORDER"
    
    ...20%" WIDTH="320" HEIGHT="250" BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" HSP
    
    ✉ 
    
    Line 130, column 239: there is no attribute "MARGINWIDTH"
    
    ... HEIGHT="250" BORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="
    
    ✉ 
    
    Line 130, column 256: there is no attribute "MARGINHEIGHT"
    
    ...DER="0" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0
    
    ✉ 
    
    Line 130, column 267: there is no attribute "HSPACE"
    
    ...GINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING
    
    ✉ 
    
    Line 130, column 278: there is no attribute "VSPACE"
    
    ..." MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no"></IFR
    
    ✉ 
    
    Line 130, column 294: there is no attribute "FRAMEBORDER"
    
    ...0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no"></IFRAME>
    
    ✉ 
    
    Line 130, column 308: there is no attribute "SCROLLING"
    
    ...VSPACE="0" FRAMEBORDER="0" SCROLLING="no"></IFRAME>
    
    ✉ 
    
    Line 130, column 312: element "IFRAME" undefined
    
    ...CE="0" FRAMEBORDER="0" SCROLLING="no"></IFRAME>
    
    You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). 
    
    ✉ 
    
    Line 142, column 438: element "IFRAME" undefined
    
    ...CE="0" FRAMEBORDER="0" SCROLLING="no"></IFRAME></div> <!-- fine random l
    Il doctype della pagina è la seguente:
    <!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">

    Vi prego di aiutarmi... sto impazzendo :P
    Grazie mille

  2. #2
    beh questo mi sembra chiaro no?
    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute)

  3. #3
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    1,742
    mmm forse a te...

    ho inserito questo nel doctype
    <!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "DTD/xhtml1-transitional.dtd">

    ma mi da gli stessi errori di prima il validator

  4. #4
    mah io non ho il tuo codice, però vedo che gli errori te li da tutti alla stessa riga, quindi...

    ah anche questo dovrebbe essere chiaro
    Remember XHTML is all lower-case

  5. #5
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    1,742
    Remember XHTML is all lower-case
    cosa significa lower-case?

    cmq link in pvt

    grazie

  6. #6
    significa che devi scrivere tutto in minuscolo!

  7. #7
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    1,742
    gli errori dopo le modifiche li da sempre..
    che devo fare VVoVe:

  8. #8
    correggi questo marginwidt alla linea 130 e poi metti in minuscolo anche il contenuto dell'iframe alla 142!
    per quanto riguarda hspace e vspace non credo che esistano in xhtml in quanto già deprecati in html4
    edit: anzi per un iframe non sono proprio previsti!

  9. #9
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    1,742
    ok fatto.
    border vspace e hspace li ho eliminati e a livello grafico è rimasto invariato.. mentre il codice adesso è validato :P

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.