Re: html et utf-8

Top Page

Reply to this message
Author: anne.guilde@free.fr
Date:  
To: guilde
Subject: Re: html et utf-8
Le 07/06/2012 13:33, anne.guilde@??? a écrit :
> Le 07/06/2012 12:37, anne.guilde@??? a écrit :
>>
>> Il me reste encore une page avec 11 erreurs...(y-en avait 43 ;) )
>>
>> Je ne sais pas trop corriger...
>> gugule sera peut-être mon ami
>
> Reste 1 erreur ;)
>
> ---
> <p><a
> href="http://french.wunderground.com/global/stations/07486.html"><img
> src="http://banners.wunderground.com/banner/bigwx_both_cond/language/french/global/stations/07486.gif"
> alt="Click for Grenoble Forecast" target="_top" border="0" height="60"
> width="468"/></a></p>
> <p><a
> href="http://french.wunderground.com/global/stations/07486.html"><img
> src="http://banners.wunderground.com/banner/sunandmoontransblack/language/french/global/stations/07486.gif"
> alt="image non trouvée" target="_top" height="150" width="280"
> border="0"/></a></p>
> </center>
> ---
>
> Line 32, Column 241: there is no attribute "target"
>
> …e Click for Grenoble Forecast" target="_top" border="0" height="60"
> width="468…
>
> ✉
>
> 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.
>
> ----
>
> Les 2 lignes me semblent identiques.
> Pourquoi la 1ère est en erreur et pas la deuxième?


J'ai enlevé le target="_top" et je n'ai plus d'erreur W3C.
Pas de différence d'affichage avec firefox.
Cela a été testé avec internet explorer, idem

Anne