Validation xhtml strict
web -
Gihef Messages postés 5150 Date d'inscription Statut Contributeur Dernière intervention - 8 juil. 2007 à 19:27
Gihef Messages postés 5150 Date d'inscription Statut Contributeur Dernière intervention - 8 juil. 2007 à 19:27
A voir également:
- Validation xhtml strict
- Validation des données excel liste déroulante - Guide
- Forum MacOS
- Forum Réseaux sociaux
- Forum Réseaux sociaux
- Forum Consommation & Internet
3 réponses
de plus il n'y a pas d'attribut "name" dans une balise "form" en xhtml strict,
Je sais, c'est embêtant, mais c'est comme ça !
Bon courage.
Benj
Je sais, c'est embêtant, mais c'est comme ça !
Bon courage.
Benj
Bonjour,
Je te propose d'essayer ça :
Je te propose d'essayer ça :
<?xml version="1.0" encoding="ISO-8859-15"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <title>XHTML Strict valide</title> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-15" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <script type="text/javascript" src="js.js"></script> <style type="text/css"> html, body { margin: 0; padding: 0; text-align: center; font-size : 100%; } #conteneur { position: relative; margin: 0 auto; width: 760px; text-align: left; border : 1px dotted #f66; } form#settings { border : 1px dotted #666; width : 400px; margin: 0 auto; } input#tempo { background : #fff; color : #003; font-size : 14; font-family : Courier, monospace; text-align : center; } .left { margin-left : 65px; } #center { text-align : center; } #center #span1 { padding-right : 20px; } #center #span2 { padding-left : 20px; } </style> </head> <body> <div id="conteneur"> <form id="settings" action=""> <p class="left"> <input type="radio" name="order" value="normal" /> Ordre normal <input type="radio" name="order" value="aléatoire" /> Ordre aléatoire </p> <p class="left"> <input type="checkbox" name="repeat" /> Répétition </p> <p class="left">Temporisation : <input type="text" name="tempo" id="tempo" value="3" size="4" maxlength="2" onkeyup="checkTempo()" onchange="checkTempo()" /> seconde(s) </p> <p id="center"> <span id="span1"> <input type="button" onclick="launchFirst()" name="bLaunch" value="Lancer" style="width: 150px" /> </span> <span id="span2"> <input type="button" onclick="stop()" name="bStop" value="Stopper" style="width: 150px" /> </span> </p> </form> </div> </body> </html>Que le validateur du W3C accepte.