Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 14
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    1,804

    capire 2 errori che da il w3c validator

    scusate secondo voi cosa sono questi errori che il w3c mi da
    codice:
    Please Click Here
    codice:
     <a href=logout.php>[esci]</a>
    Non è tanto importante saper fare,quanto ad avere voglia d imparare .

  2. #2
    Utente di HTML.it L'avatar di Francis87
    Registrato dal
    Jun 2003
    Messaggi
    5,970
    puoi postare anche l'errore?
    Heaven's closed. Hell sold out.

    Linux 2.6.26-2-amd64
    Debian squeeze

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    1,804
    ciao si posto gle errori
    codice:
     <div id="banner">
    		      
                
    
    </p>
                
    
    Welcome to RcwebAgency .
    
                  We have detected that you do not have the Flash 6 player installed.
    
                  Please Click Here
    			  to download the Flash plugin.</p>
    			  
                <p  class="style1">[img]immagini/player.gif[/img] 
              </div>
    codice:
     <a href=logout.php>[esci]</a>
    Non è tanto importante saper fare,quanto ad avere voglia d imparare .

  4. #4
    Utente di HTML.it L'avatar di salasir
    Registrato dal
    Apr 2004
    Messaggi
    1,881
    Francis ti aveva chiesto di postare anche l'errore che ti dà il validatore.

    Già che ci sei indica anche il DOCTYPE della pagina.
    Se stai validando un documento strict, potrebbe essere il target che è deprecato!
    Maurizio

    "se ami il lavoro che fai, non lavorerai mai un giorno in vita tua!"

  5. #5
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    1,804
    Line 77, Column 76: there is no attribute "TARGET".
    …/www.adobe.com/go/getflashplayer" target="_blank">Click Here</a>✉
    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

    Line 211, Column 75: end tag for element "SMALL" which is not open.
    …small><a href=logout.php>[esci]</a></small>";✉
    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 occurred in a script section of your document, you should probably read this FAQ entry.
    Non è tanto importante saper fare,quanto ad avere voglia d imparare .

  6. #6
    Beh direi che gli errori sono autoesplicativi, non capisco i tuoi quesiti:

    codice:
    Line 77, Column 76: there is no attribute "TARGET".
    Cosa c'è di non chiaro? Nella DTD da te utilizzata non esiste nessun attributo di nome "target" ma tu l'hai utilizzato lo stesso.

    codice:
     Line 211, Column 75: end tag for element "SMALL" which is not open.
    Qui non vede l'apertura del tag perchè l'attributo href del tag <a> non è racchiuso tra virgolette, e quindi va in errore.
    Sgro - Webmaster, programmazione c# e progettazione database.
    Non si forniscono soluzioni in privato.
    Non si fornisce la "pappa pronta".

  7. #7
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    1,804
    il target c e ed e blank Please <a href="http:/www.adobe.com/go/getflashplayer" target="_blank"> per il secondo errore mi fai un esempio di come deve essere grazie
    Non è tanto importante saper fare,quanto ad avere voglia d imparare .

  8. #8
    E' evidente che di quel che ho detto non hai capito niente, ed è altrettanto evidente che non sai cosa stai facendo. Gia il fatto che utilizzi una DTD strict senza nemmeno sapere cosa vuol dire.

    Te lo dico con parole semplici:

    1) NON DEVI USARE L'ATTRIBUTO TARGET mai e da nessuna parte. Non è presente nella DTD che hai scelto.

    2) Tutti gli attributi dei tag vanno racchiusi tra le doppie virgolette " " quindi devi semplicemente sistemare l'attributo href aggiugnendole.

    Se anche così non capisci ti consiglio vivamente di farti un giro su www.w3schools.com nelle sezioni "primer" cioè quelle rivolte a chi si affaccia per la prima volta allo sviluppo web.
    Sgro - Webmaster, programmazione c# e progettazione database.
    Non si forniscono soluzioni in privato.
    Non si fornisce la "pappa pronta".

  9. #9
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    1,804
    grazie vado e mi leggo la guida che mi hai postato comunque le virgolette le devo mettere dove c e [esci] e per quanto riguarda il target non devo usarlo comunque sei stato gentilissimo ciao
    Non è tanto importante saper fare,quanto ad avere voglia d imparare .

  10. #10
    Utente di HTML.it
    Registrato dal
    May 2002
    Messaggi
    98
    per aprire una nuova finestra (blank) si può scrivere un js che viene richiamato da una classe CSS nel link e che apre la window... vabbè sono sottigliezze da usare solo se richieste da clienti particolarmente duri di comprendonio...
    °°°°°°°°°°°°°°°°°°°°°°°°°°
    klingsoror@gmail.com

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.