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

主页代码:

<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页面实现效果!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值