[ 212 711 ]
[ 38.103.63.56 ]
Les frames (page3) : ExerciceDonnée de l'exerciceRéaliser le "frameset" illustré par la copie d'écran ci-dessous :
Corrigé de l'exerciceCliquez ici pour faire apparaître ce frameset dans votre navigateur... Fichier "frameset.html"
<html>
<head>
<title>Exercice HTML : Définition d'un frameset</title>
</head>
<frameset rows="*,30" border="2">
<frameset cols="160,*">
<frame src="frame_navig.html" name="navig">
<frame src="frame_page.html" name="page">
</frameset>
<frame src="frame_pied.html" noresize scrolling="no" marginheight="1" marginwidth="1" name="pied">
<noframe>
<strong>Attention</strong> : ce document contient des "frames" que votre navigateur WEB n'est
pas capable d'interpréter. Utilisez Netscape Navigator (version 2 ou sup.) ou
Microsoft Internet Explorer (version 3 ou sup.) ; sinon,
<a href="frame_navig.html"><strong>suivez ce lien</strong></a>.
</noframe>
</frameset>
</html>
Fichier "frame_navig.html"
<html>
<head>
<title>Exercice HTML : frame de navigation</title>
</head>
<body bgcolor="yellow">
<center><strong>Frame de navigation</strong></center>
<p><hr width="60%" size="1"><p>
<ul>
<li><a href="111.html" target="page">111</a>
<li><a href="222.html" target="page">222</a>
</ul>
<p><hr width="60%" size="1"><p>
</body>
</html>
Fichier "frame_page.html" <html> <head> <title>Exercice HTML : frame de bienvenue</title> </head> <body bgcolor="white"> <center><strong>Frame de bienvenue</strong></center> </body> </html> Fichier "frame_pied.html" <html> <head> <title>Exercice HTML : frame de pied de page</title> </head> <body bgcolor="gray"> <center><strong>Pied de page</strong></center> </body> </html> |