第13节 html框架间的链接跳转

来源:互联网 发布:网络电影剧本 编辑:程序博客网 时间:2024/06/05 20:43

主页代码:

<html>    <head>        <title>主页</title>    </head>    <body>        <h1 align= center><font color=red>主页</font></h1>        <center><img src="https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo/bd_logo1_31bdc765.png"></center>    </body></html>

简介代码:

<html>    <head><title>        简介    </title></head>    <body>        <h1 align=center><font color=red>简介......</font></h1>    </body></html>

联系我们代码:

<html>    <head>        <title>联系我们</title>    </head>    <body>        <h1 align=center><font color=blue>联系我们...</font></h1>        <center>联系方式:<font color=gray>13800138000</font></center>    </body></html>

左侧导航代码:

<html>    <head>        <title>左侧导航</title>    </head>    <body>        <center><a href="D:\温习网页\框架之间的额跳转\主页.html" target="main"><font color=red>首页</font></a></center>        <center><a href="D:\温习网页\框架之间的额跳转\简介.html" target="main"><font color=blue>简介</font></a></center>        <center><a href="D:\温习网页\框架之间的额跳转\联系我们.html" target="main"><font color=green>联系我们</font></a></center>    </body></html>

创建页面链接跳转 代码

<html>    <head>        <title>创建页面链接跳转</title>    </head>    <frameset cols="30%,*" rows="*">        <frame src="D:\温习网页\框架之间的额跳转\左侧导航.html" target="main">        <frame src="D:\温习网页\框架之间的额跳转\主页.html" name="main">    </frameset></html>

复制替换其中的额html页面实现效果!

0 0