Code : Tout sélectionner
onClick="javascript:history.back()"

++
Code : Tout sélectionner
onClick="javascript:history.back()"
Code : Tout sélectionner
onclick="javascript:history.back()"
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Service de l'Audiovisuel de la Province de Namur</title>
<meta http-equiv="Content-type" content="xhtml+xml; charset=iso-8859-1" />
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<meta name="DC.Title" lang="fr" content="Page d'Accueil" />
<meta name="DC.Date.created" scheme="W3CDTF" content="2004-12-22" />
<meta name="DC.Date.modified" scheme="W3CDTF" content="2005-01-11" />
<meta name="DC.Subject" lang="fr" content="Audiovisuel, Namur, Province" />
<meta name="DC.Language" scheme="RFC3066" content="fr-FR" />
<meta name="DC.Description" lang="fr" content="Page d'Accueil du site de l'Audiovisuel de la Province de Namur" />
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<link rel="stylesheet" type="text/css" href="styles/style_table.css" />
<link rel="stylesheet" type="text/css" href="styles/style_layout.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<link rel="stylesheet" type="text/css" href="styles/style_table.css" />
<link rel="stylesheet" type="text/css" href="styles/style_layout_ie.css" />
<![endif]-->
</head>
Code : Tout sélectionner
<input name="button" type="button" onClick="javascript:history.back()" value="Retour" />
voila
PS: pour les liens css c'est bien " type="text/css" " que je dois utiliser ???
mici
Code : Tout sélectionner
onclick="javascript:history.back()"
OuiPS: pour les liens css c'est bien " type="text/css" " que je dois utiliser ???
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Code : Tout sélectionner
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
Code : Tout sélectionner
<meta http-equiv="Content-type" content="xhtml+xml; charset=iso-8859-1" />
Code : Tout sélectionner
<?xml version="1.0" encoding="iso-8859-1"?>
Code : Tout sélectionner
DTD XHTML 1.1//EN
Code : Tout sélectionner
xml:lang="en"
Code : Tout sélectionner
DTD XHTML 1.1//FR
Code : Tout sélectionner
xml:lang="fr"
Ce n'est pas là qu'il faut le définir, c'est au niveau de ton serveur. Les meta http-equiv n'ont aucune utilité si les méta informations ont déjà été définies dans les en-têtes HTTP.GregK84 a écrit :Code : Tout sélectionner
<meta http-equiv="Content-type" content="xhtml+xml; charset=iso-8859-1" />
GregK84 a écrit :par contre quand j'ajoute cette ligne avant ma dtd j'ai une erreur !
voila, est ce que je suis conforme maintenent ???Code : Tout sélectionner
<?xml version="1.0" encoding="iso-8859-1"?>
OuiGregK84 a écrit :est ce que je peux remplacer "EN" pas "FR"
Code : Tout sélectionner
xml:lang="fr"
Non ! La liste des doctypes est disponible sur http://www.w3.org/QA/2002/04/valid-dtd-list.htmlGregK84 a écrit :Code : Tout sélectionner
DTD XHTML 1.1//FR
Effectivement.GregK84 a écrit :le serveur envoie en text/html
L'autre solution puisque ton serveur accepte le php c'est de faire ta page en xhtml 1.1 mais de mettre tout en haut le codeGregK84 a écrit :je vais réaliser ma page en xhml 1.0
Code : Tout sélectionner
<?php
if( stristr($HTTP_SERVER_VARS["HTTP_ACCEPT"], "application/xhtml+xml") || empty($HTTP_SERVER_VARS["HTTP_ACCEPT"]))
{
header("Content-type: application/xhtml+xml");
echo "<?xml version='1.0' encoding='iso-8859-1'?>\n";
echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n";
echo "<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">\n";
}
else
{
header("Content-type: text/html; charset=iso-8859-1");
echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n";
echo "<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">\n";
}
?>
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité