Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 11
  1. #1

    Validare il proprio sito.

    Raga sto cercando di validare la mia home page con W3C ma ho 21 errori che non riesco proprio a capire cosa sono.
    Se mi date una mano ve ne sarò ben grato.

    cominciamo con quello che mi da più errori cio'è il file flash...

    il codice è questo
    codice:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width='500' height='209' />
          <param name="movie" value="Flash/intro_login2.swf" />
          <param name="menu" value="false" />
          <param name="quality" value="high" />
          <param name="bgcolor" value="#000000" />
          <embed src="Flash/intro_login2.swf" menu=false quality=high bgcolor=#000000 width='500' height='209'
     type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
        </object>
    gli errori sono questi:
    codice:
    # Error  Line 71 column 17: there is no attribute "SRC".
    
          <embed src="Flash/intro_login2.swf" menu=false quality=high bgcolor=#00000
    
    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.
    
    ✉
    # Error Line 71 column 47: there is no attribute "MENU".
    
    ...ed src="Flash/intro_login2.swf" menu=false quality=high bgcolor=#000000 width
    
    ✉
    # Error Line 71 column 61: there is no attribute "QUALITY".
    
    ...intro_login2.swf" menu=false quality=high bgcolor=#000000 width='500' height=
    
    ✉
    # Error Line 71 column 74: there is no attribute "BGCOLOR".
    
    ...ogin2.swf" menu=false quality=high bgcolor=#000000 width='500' height='209'
    
    ✉
    # Error Line 71 column 74: an attribute value must be a literal unless it contains only name characters.
    
    ...ogin2.swf" menu=false quality=high bgcolor=#000000 width='500' height='209'
    
    You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary.
    
    ✉
    # Error Line 71 column 88: there is no attribute "WIDTH".
    
    ...e quality=high bgcolor=#000000 width='500' height='209'
    
    ✉
    # Error Line 71 column 101: there is no attribute "HEIGHT".
    
    ...h bgcolor=#000000 width='500' height='209'
    
    ✉
    # Error Line 72 column 6: there is no attribute "TYPE".
    
     type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/
    
    ✉
    # Error Line 72 column 50: there is no attribute "PLUGINSPAGE".
    
    ...ation/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashpl
    
    ✉
    # Error Line 72 column 96: element "EMBED" undefined.
    
    ...ww.macromedia.com/go/getflashplayer" /></embed>
    
    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.
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  2. #2
    Allora, intanto <embed> è deprecato. poi utilizza i css per gli attributi di background, color, font, altezza e larghezza ecc.

    Il validatore ti segnala quali sono gli errori, guardali con attenzione.


  3. #3
    Per correggere:

    - http://alistapart.com/articles/byebyeembed

    Per quanto riguarda "embed deprecato", c'è da sottolineare il fatto che non è così. Semplicemente, il marcatore embed non ha mai fatto parte di alcuna specifica W3C.

  4. #4
    Per quanto riguarda "embed deprecato", c'è da sottolineare il fatto che non è così
    Mah !??

    http://www.webaccessibile.org/argome....asp?DocID=608

  5. #5
    Originariamente inviato da alexba64
    Mah !??

    http://www.webaccessibile.org/argome....asp?DocID=608
    'Mah' cosa?

    embed non può tecnicamente essere definito 'deprecato' semplicemente perché non ha mai fatto parte di alcuna specifica ufficiale W3C:

    - http://www.webstandards.org/learn/ar...skw3c/may2005/

    What about embed? Good or bad, embed was never included in any version of HTML.
    Parole del W3C, non mie. In relazione, ovviamente, alla definizione che il Consorzio fornisce:

    Deprecated

    A deprecated element or attribute is one that has been outdated by newer constructs.

    [Preso da: http://www.w3.org/TR/WAI-WEBCONTENT/#deprecated ]

  6. #6
    capito, uso l'oject allora...
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  7. #7
    'Mah' cosa?
    ho solo detto mah, mettendo un link di riferimento dove parla di embedd deprecato tutto qui.

    Ma perchè vi offendete subito se non ci inchiniamo alla vostra sapienza mettendo fiumi di link per sostenere la vostra tesi ?????

  8. #8
    Non mi pare ci siano elementi per sostenere ch'io fossi offeso. Ho, appunto, semplicemente approfondito l'argomentazione sintetica che avevo dato nella prima risposta, citando le fonti e dandone un riferimento.

    Gli inchini conserviamoli tutti per cose più meritevoli.

  9. #9
    Non mi pare ci siano elementi per sostenere ch'io fossi offeso.
    Parli come un avvocato.

    Comunque il tono mi pareva quello, può darsi mi sia sbagliato.

  10. #10
    Originariamente inviato da alexba64
    Parli come un avvocato.
    Eh, magari! L'arte di argomentare e discutere è comunque molto vicina a quel mondo, no? Parlo da giovane neo-geometra affascinato.

    Comunque il tono mi pareva quello, può darsi mi sia sbagliato.
    Ma no, dai: avevo anche messo la faccina...

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.