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

    Alcuni problemi di codice, Help Please

    Ciao a tutti,
    grazie all'aiuto di un'amica, a cui devo tutto io mio grazie, sono stati risolti alcuni problemi o errori del sito.
    Purtroppo, causa la mia inesperienza, e la non professionalità (nel senso che non siamo professionisti) nel settore, in più la lingua inglese non sempre facile da capire, alcuni problemi non sono stati risolti.
    Gentilemente potreste darmi una mano a risolverli o spiegarmi come fare?
    Specifico che il sito non ha carattere economico, quindi non cerco la perfezione ma per evitare problemi futuri sarebbe meglio se riuscissi a sistemarli.
    Grazie per la disponibilità, vi copio il risultato degli errori.
    Ciao
    Miky

    Result: Failed validation, 14 errors
    File: prova_home.htm
    Encoding: windows-1252
    Doctype: HTML 4.01 Transitional
    This page is not Valid HTML 4.01 Transitional!

    Below are the results of attempting to parse this document with an SGML parser.

    1. Error Line 142 column 11: there is no attribute "SRC".

    <embed src="BANNERINDEX.swf" menu="false" quality="high" wmode="opaque" scale="n

    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.

    2. Error Line 142 column 34: there is no attribute "MENU".

    <embed src="BANNERINDEX.swf" menu="false" quality="high" wmode="opaque" scale="n

    3. Error Line 142 column 50: there is no attribute "QUALITY".

    ...ANNERINDEX.swf" menu="false" quality="high" wmode="opaque" scale="noscale" ty

    4. Error Line 142 column 63: there is no attribute "WMODE".

    ...f" menu="false" quality="high" wmode="opaque" scale="noscale" type="applicati

    5. Error Line 142 column 78: there is no attribute "SCALE".

    ... quality="high" wmode="opaque" scale="noscale" type="application/x-shockwave-

    6. Error Line 142 column 93: there is no attribute "TYPE".

    ... wmode="opaque" scale="noscale" type="application/x-shockwave-flash" pluginsp

    7. Error Line 142 column 137: there is no attribute "PLUGINSPAGE".

    ...ation/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/dow

    8. Error Line 142 column 232: there is no attribute "HEIGHT".

    ..._Prod_Version=ShockwaveFlash" height="120" width="760">

    9. Error Line 142 column 244: there is no attribute "WIDTH".

    ...n=ShockwaveFlash" height="120" width="760">

    10. Error Line 142 column 249: element "EMBED" undefined.

    ...ckwaveFlash" height="120" width="760">

    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),
    * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
    * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.


    11. Error Line 188 column 77: required attribute "TYPE" not specified.

    ...tp://www.emmegipress.it/vpo/getnews.asp"></script></p>

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

    12. Error Line 234 column 9: "TR" not finished but containing element ended.

    </table>

    13. Error Line 241 column 23: start tag for "TR" omitted, but its declaration does not permit this.

    <td width="445"><center><form method="get" action="http://www.google.com

    14. Error Line 298 column 27: required attribute "ACTION" not specified.

    <form name="tickform">

    <input name="tickfield" size="40" type="text"></p

  2. #2
    Moderatore di JavaScript L'avatar di br1
    Registrato dal
    Jul 1999
    Messaggi
    19,998
    Non mi sembrano lontanamente problemi di codice javascript bensi' di validazione... e sono trattati sul forum HTML.

    Non ti sposto io per risparmiare loro un titolo cosi' poco corretto... riproponi tu la discussione nel forum giusto ma con un titolo a termini di regolamento

    ciao
    Il guaio per i poveri computers e' che sono gli uomini a comandarli.

    Attenzione ai titoli delle discussioni: (ri)leggete il regolamento
    Consultate la discussione in rilievo: script / discussioni utili
    Usate la funzione di Ricerca del Forum

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 © 2024 vBulletin Solutions, Inc. All rights reserved.