Bonjour,
je souhaite valider mon code, mais j'ai un soucis après avoir rajouté des infobulles
(cf Comment contrôler et modifier l'apparence d'une infobulle ? )
dans mon infobulle, je fais appel à h1 et h2 à l'interieur d'une balise <a...
pas étonnant qu'il ne soit pas valid
voici ma ligne de code :
et voici le message w3c
[HS]
Je vois déjà certain se dire "ohoh ! il est rigolo lui !"
"index.php?c=BLOGDETAILS&IDBLOG=2" n'est pas valid non plus.
oui, oui, je sais ... j'ai fais du *RewriteRule* mais pour je ne l'utilise pas dans mes tests
[/HS]
bref,
comment passer ce problème de validité H1 dans ma balise de lien pour mon infobulle ?
Modifié par Aior (13 May 2006 - 01:34)
je souhaite valider mon code, mais j'ai un soucis après avoir rajouté des infobulles

(cf Comment contrôler et modifier l'apparence d'une infobulle ? )
dans mon infobulle, je fais appel à h1 et h2 à l'interieur d'une balise <a...
pas étonnant qu'il ne soit pas valid

voici ma ligne de code :
<a class="info" href="index.php?c=BLOGDETAILS&IDBLOG=2">5 commentaires<span><h1>2nd test</h1> @ 28/04/2006<br /><h2>Dernier: </h2>Lionel<br />Et bah ! j'en ai fait du chemin ! et pa...</span></a>
et voici le message w3c
a écrit :
document type does not allow element "h1" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...&IDBLOG=1">aucun commentaire<span><h1>reprise</h1> @ 28/04/2006<br />aucun co
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>").
[HS]
Je vois déjà certain se dire "ohoh ! il est rigolo lui !"
"index.php?c=BLOGDETAILS&IDBLOG=2" n'est pas valid non plus.
oui, oui, je sais ... j'ai fais du *RewriteRule* mais pour je ne l'utilise pas dans mes tests

[/HS]
bref,
comment passer ce problème de validité H1 dans ma balise de lien pour mon infobulle ?
Modifié par Aior (13 May 2006 - 01:34)