<formmethod="post"action="connexion2.php"> <p><labelfor="pseudo">Pseudo : </label><inputtype="text"name="pseudo"id="pseudo"/></p><br/> <p><labelfor="mdp">Mot de passe : </label><inputtype="password"name="mot_passe"id="mdp"/></p><br/> <p><inputtype="submit"name="connexion"value="Se connecter"/></p><br/> </form>
Apparement ceux sont les <br /> qui posent problème.
Message d'erreur:
Error Line 65, column 9: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag .
<br />
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>").
× Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
× Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.