• User Attivo

    il tag <a> non è consentito!?

    Line 184, Column 63: document type does not allow element "a" here . ?tp://feeds.feedburner.com/Lineguides'><img src='http://img516.imageshack.us/i The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

    il pezzo di codice da validare è questo:

    images[0] = "<a href = 'http://feeds.feedburner.com/Lineguides'><img src='http://img516.imageshack.us/img516/5627/rss3cd0.gif' alt='Visit LineGuides.netsons.org' /></a>";
    

  • User Attivo

    Io nel mio sito ho dovuto eliminare tutti i tag di chiusura </a> per farmi validare i link.
    prova un pò anche tu, può darsi che funzioni.


  • Super User

    😄

    un javascript si inserisce in altro modo in un documento xhtml 😉 (ci sono tante discussioni in merito in questa sezione)


  • User Attivo

    ,non è ke potresti fornirmi qualche link in merito?che ovviamente,mi fornisca lo stesso risultato... Io ho inserito il primo che ho trovato funzionante, ovviamente ho sbagliato 😄