Visualizzazione dei risultati da 1 a 3 su 3

Discussione: <embed>

  1. #1

    <embed>

    Ciao a tutti,
    sto studiando un pò di html, non riesco a risolvere i seguenti errori convalidando la mia pagina www.bennynet.it/index.htm sul sito W3C.

    il problema è l' <embed> che mi serve per caricare un paio di flash.


    *******************

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



    1) Error Line 38 column 26: there is no attribute "SRC".
    <embed src="htm/random_xml.swf" width="520" height="200"></embed>

    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.

    2) Error Line 38 column 53: there is no attribute "WIDTH".
    <embed src="htm/random_xml.swf" width="520" height="200"></embed>

    3) Error Line 38 column 66: there is no attribute "HEIGHT".
    <embed src="htm/random_xml.swf" width="520" height="200"></embed>

    4) Error Line 38 column 71: element "EMBED" undefined.
    ...="htm/random_xml.swf" width="520" height="200"></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.

    5) Error Line 41 column 69: element "EMBED" undefined.
    ... src="swf/orologio.swf" width="170" height="170"></embed>


    qualcuno mi puo' aiutare?
    grazie, saluti

    Bennynet

  2. #2
    Non so da dove tu stia studiando l'HTML, ma ti avverto che il marcatore embed non esiste in ALCUNA specifica ufficiale del W3C, come ribadito in questo documento:

    - www.webstandards.org/learn/askw3c/jun2004.html

    Per inserire oggetti flash - come altri elementi multimediali - occorre usare il tag object. Per farlo in modo standard trovi le informazioni qui:

    - www.alistapart.com/articles/flashsatay



    P.S. Se fai una ricerca nel forum, la discussione è stata affrontata un'infinità di volte.

  3. #3
    Utente bannato
    Registrato dal
    Jun 2003
    Messaggi
    3,657
    Originariamente inviato da pierofix
    Non so da dove tu stia studiando l'HTML, ma ti avverto che il marcatore embed non esiste in ALCUNA specifica ufficiale del W3C, come ribadito in questo documento:

    - www.webstandards.org/learn/askw3c/jun2004.html

    Per inserire oggetti flash - come altri elementi multimediali - occorre usare il tag object. Per farlo in modo standard trovi le informazioni qui:

    - www.alistapart.com/articles/flashsatay



    P.S. Se fai una ricerca nel forum, la discussione è stata affrontata un'infinità di volte.
    farò la ricerca + tardi: ora devo andare...bella sta storia dell'embed

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.