Rechercher : dans
Par :

Xhtml 1.0 a xhtml 1.1

Winterboard, le 1 jun 2008 à 15:11:57 
 Signaler ce message aux modérateurs

Bonjour,

j'aimerai changer ma page de xhtml 1.0 en xhtml 1.1 mais j'ai des problemes pour tout rendre compatible.
Voila mon code xhtml 1.0 strict valide:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="fr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="application/xhtml+xml; charset=us-ascii" http-equiv="Content-Type" />
<title>Lou Castelet - Bienvenue!</title>
<meta content="lou-castelet,lou castelet,castelet,domaine de pierrefeu,pierrefeu,location,personnes agees,hivernage,long sejour,stage de golf, g&icirc;te, appartements, studio, location meublee, g&icirc;tes, gite, gites, vias, cap d&#8217;agde, agde, b&eacute;ziers, beziers, h&eacute;rault, H&eacute;rault, herault, sud, mer, plage, plages, soleil, vacance, vacances, s&eacute;jour, s&eacute;jours, canal du midi, m&eacute;diterran&eacute;e, mediterranee, mediteranee, 34, 11, 66, 30, gard, languedoc, roussillon, piscine, patogeoire, boulodrome, a&eacute;roport, gare, restaurant, animaux, jeux enfants, jeu enfant, &eacute;tape VRP, vrp, barbecue, barbecu, parking ferm&eacute;, parking, accueil, vin, vins, cano&eacute; kayak, vigneron, narbonne, carcassonne, tourisme, gratuit, demeure, domaine, parc, parcs, randonn&eacute;s, randonn&eacute;, randonn&eacute;es, l&#8217;h&eacute;rault, studios, studio, repos,cadre merveilleux, tranquilit&eacute;, saint chinian, Chinian, familles, famille, groupes, groupe, picpoul, muscat, raftingcalme, valras, sports nautiques, sport nautique, bateau, voile, accueil chaleureux, international, fetes de famille, fete de famille, mariages, mariage, groups, families, family, overwinteren, golf seminair, plieger, kinderen, kind, kindvriendelijk, gemeubileerd, luxe, s&eacute;rignan" name="keywords" />
<meta content="Lou Castelet - Hebergements dans le sud de la france!" name="description" />
<link href="res/style.css" rel="stylesheet" type="text/css" />
<script src="res/langbar.js" type="text/javascript"></script>
</head>

<body>

<table class="table1">
	<tbody>
	<tr>
		<td class="top" colspan="2"><br />
		<b>&nbsp;&nbsp; Lou Castelet</b></td>
	</tr>
	<tr>
		<td class="menu"><br />
		<table cellspacing="0" class="table2">
			<tbody>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				Accueil </td>
			</tr>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				H&eacute;bergements </td>
			</tr>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				Le domaine </td>
			</tr>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				Contact </td>
			</tr>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				Situation </td>
			</tr>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				Tarifs &amp; Info. </td>
			</tr>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				Livre D'or </td>
			</tr>
			<tr>
				<td class="menu1">&nbsp;</td>
			</tr>
			<tr>
				<td class="menu1"></td>
				<td class="menunormal" onclick="javascript:window.location='index.html';" onmouseout="this.className='menunormal'" onmouseover="this.className='menuover'">
				R&eacute;f&eacute;rencements </td>
			</tr>
		</tbody>
		</table>
		<br />
		<br />
		<div>
			<a href="http://validator.w3.org/check?uri=referer">
			<img alt="XHTML 1.0 Strict Valide!" class="w3c" src="http://www.w3.org/Icons/valid-xhtml10" /></a><hr style="width: 90px" />
			<a href="http://jigsaw.w3.org/css-validator/check/referer">
			<img alt="CSS Valide !" class="w3c" src="http://jigsaw.w3.org/css-validator/images/vcss" />
			</a></div>
		</td>
		<td class="content"><br />
		<div class="center">
			<img id="langbar" alt="langbar" class="languagebar" src="http://www.lou-castelet.fr/project/pic/langbar.png" usemap="langbarmap" />
			<map id="langbarmap" name="langbarmap">
			<area alt="francais" coords="122, 43, 25" href="../" onmouseout="original('langbar')" onmouseover="fr('langbar')" shape="circle" />
			<area alt="nederlands" coords="189, 43, 25" href="/home_nl.html" onmouseout="original('langbar')" onmouseover="nl('langbar')" shape="circle" />
			<area alt="English" coords="54, 43, 25" href="/home_uk" onmouseout="original('langbar')" onmouseover="uk('langbar')" shape="circle" />
			<area alt="noselect" nohref="nohref" shape="default" />
			</map></div>
		<br />
		<div class="center">
			visiteurs:
			<script src="res/counter.js" type="text/javascript">
		
		
		</script>
		</div>
		</td>
	</tr>
	<tr class="footertr1">
		<td class="footertd1" colspan="2">
		<table cellspacing="0" class="footertable1">
			<tbody>
			<tr>
				<td class="footertd2"><span class="footer">&nbsp;Fait le 22/03/2007 
				par Christopher &amp; mis a jour le 06/01/08</span> </td>
				<td class="footertd3">
				<a class="footer" href="mailto:lou-castelet@aliceadsl.fr">
				<img alt="mail" class="footermail" src="pic/im_email.gif" /> lou-castelet@aliceadsl.fr</a></td>
			</tr>
		</tbody>
		</table>
		</td>
	</tr>
</tbody>
</table>

</body>

</html>


Pouvez vous m'aider a transformer le code pour etre compatible xhtml 1.1??

merci d'avance
Configuration: Windows XP
Firefox 2.0.0.14

Meilleures réponses pour « xhtml 1.0 a xhtml 1.1 » dans :
Structure d'un document HTML VoirNotion de document HTML Une page HTML est un simple fichier contenant du texte formatté avec des balises HTML. Par convention l'extension donnée au fichier est .htm ou .html, mais une page web peut potentiellement porter n'importe quelle...