Re: html et utf-8

Page principale

Répondre à ce message
Auteur: anne.guilde@free.fr
Date:  
À: Anael
CC: guilde
Sujet: Re: html et utf-8
Le 06/06/2012 22:53, Anael a écrit :
> Dans ce genre de cas, teste tes pages auprès du validateur W3C (le
> consortium à la base des normes (x)HTML.
> => http://validator.w3.org/
> C'est très utilie pour ce genre de soucis :-)
>


Je viens de tester plusieurs pages.

J'ai un truc que je ne sais pas corriger

Je veux centrer un texte...
J'ai utilisé <center> et </center>

-----------
Line 32, Column 8: document type does not allow element "center" here;
missing one of "object", "applet", "map", "iframe", "button", "ins",
"del" start-tag

<center>



The mentioned element is not allowed to appear in the context in which
you've placed it; the other mentioned elements are the only ones that
are both allowed there and can contain the element mentioned. This might
mean that you need a containing element, or possibly that you've
forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a
block-level element (such as "<p>" or "<table>") inside an inline
element (such as "<a>", "<span>", or "<font>").
----------

Comment fait-on pour centrer un texte?

Merci
Anne