Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Frames 3
Frames 3
Ejemplos.-
<frame src="principal.html">
<frame src="http://www.yahoo.es">
y ahora se cargara la pagina en una ventana nueva del navegador, por lo que
tendremos dos ventanas abiertas.
que indica al formulario al que se mandan los datos el frame de destino del
resultado de los mismos.
que indica al formulario al que se mandan los datos el frame de destino del
resultado de los mismos.
Ejemplo.-
<html>
<head>
<title>Mi pagina</title>
</head>
<frameset rows="40%,*" >
<frame src="a.html" marginwidth="50" marginheight="30">
<frame src="b.html" marginwidth="10" marginheight="0">
</frameset>
</html>
ver resultado.
* BORDECOLOR= " color ", con color = nombre color web en inglés o en
hexadecimal. Sirve para definir el color del borde del marco concreto al que
se aplica.
Ejemplos.-
<html>
<head>
<title>Mi pagina</title>
</head>
<frameset rows="40%,*" bordercolor="red">
<frame src="a.html" marginwidth="50" marginheight="30" frameborder="0" >
<frame src="b.html" marginwidth="10" marginheight="0" frameborder="0">
</frameset>
</html>
ver resultado.
<html>
<head>
<title>Mi pagina</title>
</head>
<frameset rows="40%,*" bordercolor="red">
<frame src="a.html" marginwidth="50" marginheight="30" frameborder="0" >
<frame src="b.html" marginwidth="10" marginheight="0" >
</frameset>
</html>
ver resultado.
<html>
<head>
<title>Mi pagina</title>
</head>
<frameset rows="40%,*" bordercolor="red">
<frame src="a.html" marginwidth="50" marginheight="30" frameborder="1" >
<frame src="b.html" marginwidth="10" marginheight="0" frameborder="1">
</frameset>
</html>
ver resultado.
Etiquetas <NOFRAMES>…</NOFRAMES>
<html>
<head>
<title>Pagina con frames</title>
</head>
<frameset rows="20%,*" frameborder="yes" bordercolor="yellow" >
<frame name="uno" src="a.html" marginwidth="50" marginheight="30"
>
<frame name="dos" src="b.html" marginwidth="30" marginheight="40" >
<noframes>
<body>
Lo siento. Su navegador no soporta frames. Pulse <a
href="noframes.html">AQUÍ</a> para acceder a una pagina sin frames.
</body>
</noframes>
</frameset>
</html>