Salve,
sto impazzendo con la validazione di una pagina html in cui son presenti degli attributi: target="new" al classico collegamento ipertestuale <A HREF="">
In pratica quando vado a validare la pagina mi da a schermo questo che segue (vedi QUOTE).
Come consigliato dal consorzio (e.g. you must use the "Transitional" document type to get the "target" attribute) modifico il document type con questo:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
ma purtroppo il risultato non cambia O_o Come posso "fixare" il problema ? E forse possibile settare l'attributo direttamente nel file .css forse ?
Grazie,
pao
Line 51, column 198: there is no attribute "TARGET"
...alid CSS!" title="Valid CSS!" target=new></a>
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).



Rispondi quotando
tolgo il target e la pagina me la valida
