validation html

pp51
WRInaute discret
WRInaute discret
 
Messages: 86
Inscription: 26 Aoû 2005

validation html

Message le Mer Nov 16, 2005 22:41

Bonjour,

Pourriez-vous m'expliquer comment regler ces erreurs ?
issues du test:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.princessedunjour.com%2Ftestheader.htm&charset=iso-8859-1+%28Western+Europe%29&doctype=Inline

# Error Line 41 column 7: character data is not allowed here.

</div id="photo_home">


# Error Line 43 column 15: non SGML character number 146.

<h1>Princesse d��un Jour vous invite à découvrir sa toute nouvelle collection


# Error Line 44 column 71: non SGML character number 146.

...la délicatesse des trésors Princesse d’un Jour entièrement confectionnés


# Error Line 61 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.

<li><a href=presse.htm>


# Error Line 63 column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.

<li><a href=catalogue.htm>


# Error Line 67 column 3: document type does not allow element "li" here; missing one of "ul", "ol" start-tag.

<li><a href="net-partenaires.htm">

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>").[/url]

hced
Nouveau WRInaute
Nouveau WRInaute
 
Messages: 6
Inscription: 24 Nov 2004

Message le Mer Nov 16, 2005 23:38

</div id="photo_home">
l'ID se place dans le tag ouvrant, pas le fermant :
<div id="photohome">...</div>

<h1>Princesse d��un Jo..
Tu peux utiliser le caractère ' à la place de ‘

<li><a href=presse.htm>
Il faut encadrer ton adresse de guillemets :
<a href="presse.htm">

<li><a href="net-partenaires.htm">
Ta liste de <li>..</li> dont être comprise dans un tag <ul> ou <ol> :
<ul><li>...</li><li>...</li></ul>
Et j'ai vu que tu as oublié de fermer au mois un tag <li>.


Si vous avez aimé cette discussion, partagez-la sur vos réseaux sociaux préférés :

Lectures recommandées sur ce thème :



Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités