• User Attivo

    Date un'occhiata, ho bisogno di voi

    Ho voluto testare le possibilità del solo blocco note di Windows creando un sito come ai vecchi tempi, senza css. Ho quindi fatto largo uso di tabulazioni e ho cercato di ottenere il miglior risultato possibile. Ovviamente non ha neanche senso tentare la validazione del W3C, però ho bisogno che qualcuno che se intenda dia una controllata al codice e mi dia anche qualche consiglio per avere un PR almeno diverso da zero.

    http://xoomer.alice.it/planets/funghi/

    Non mi trattate troppo male, il mio è solo un hobby, non lo faccio apposta :rollo:

    Ciao a tutti


  • Super User

    Ciao, Mauriz

    tranquillo, qui nessuno tratta male nessun altro 🙂

    Dunque...
    Secondo me, dovresti mettere a posto i meta-tag. Puoi leggere qui http://www.diodati.org/w3c/html401/struct/global.html#h-7.4.4 cosa sono e a cosa servono.
    Per quanto riguarda il codice, come avrai già letto in altri thread, io consiglio sempre di abbandonare le tabelle e sostituirle strutturando un buon CSS impostando il sito con i DIV.
    Le tabelle sono state create e andrebbero utilizzate per l'impaginazione di dati numerici, non per dati testuali.
    Così com'è ora, come avevi pronosticato, non passa la validazione del codice.

    Un'altra cosa, all'interno delle pagine con le varie descrizioni dei funghi, l'header mi compare così:

    image

    Spero di averti aiutato almeno un po'.
    Se hai bisogno non farti problemi, siamo tutti qui per aiutarci.

    :ciauz:


  • User Attivo

    Grazie Paola, ho deciso di accettare il consiglio, ho già rivoluzionato l'Home Page.

    http://xoomer.alice.it/planets/funghi/

    Certo è una bella fatica.

    C'è una cosa strana: quando vado a fare la validazione HTML 4.01 della Home, tramite upload dal mio computer, il W3C me la passa; se invece gli do' l'URL (dell'identica pagina) non la passa e trova 10 errori. Perché?

    Ciao :ciauz:

    P.S: io sono nottambulo, è vero, ma l'orologio del forum è 2 ore avanti


  • Super User

    Mauriz 🙂

    ti trova gli errori perché ci sono

    • Error Line 178 column 29: required attribute "TYPE" not specified.<SCRIPT LANGUAGE="Javascript"> 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>.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=127#errormsg)
      
    • Error Line 184 column 61: required attribute "TYPE" not specified....PT LANGUAGE="Javascript" SRC="/redSheriff/multiframe.js"> 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>.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=127#errormsg)
      
    • Error Line 188 column 29: required attribute "TYPE" not specified.<script language="JavaScript"> 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>.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=127#errormsg)
      
    • Error Line 197 column 32: required attribute "TYPE" not specified.<script language="JavaScript1.1"> 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>.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=127#errormsg)
      
    • Error Line 203 column 32: required attribute "TYPE" not specified.<script language="JavaScript1.1"> 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>.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=127#errormsg)
      
    • Error Line 212 column 29: required attribute "TYPE" not specified.<script language="JavaScript"> 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>.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=127#errormsg)
      
    • Error Line 222 column 43: end tag for element "TEXTFLOW" which is not open. '"><textflow>'+imgN+'</textflow**>**</applet>'); 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.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=79#errormsg)
      
    • Error Line 222 column 52: end tag for element "APPLET" which is not open. '"><textflow>'+imgN+'</textflow></applet**>**'); 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.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=79#errormsg)
      
    • Error Line 230 column 101: required attribute "ALT" not specified...._Matrix-it_xoomfree" width=1 height=1**>** 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>.

           [&#9993;](http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fxoomer.alice.it%2Fplanets%2Ffunghi%2F;errmsg_id=127#errormsg)
      
    • Error Line 232 column 9: end tag for element "COMMENT" which is not open.</COMMENT**>** 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
      Ci riesci a correggerli? 😉

    All'interno, inoltre, l'header lo vedo ancora spezzato. :ciauz:


  • User Attivo

    Proverò ad intervenire. Rimane il fatto che caricando la pagina da file locale il test viene passato: come mai? In fondo il codice è sempre lo stesso.

    Provvederò all'header delle pagine interne.

    Grazie 🙂